Reference
Server room displaying SharePoint security update installation on monitoring screens
KB5002845Microsoft SharePointSharePoint

KB5002845 — Security Update for SharePoint Server 2019

KB5002845 is a March 2026 security update that addresses multiple vulnerabilities in SharePoint Server 2019, including remote code execution and elevation of privilege flaws affecting SharePoint Foundation and Server components.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
11 Mar 20269 min read0 views

KB5002845 is a March 2026 security update that addresses multiple vulnerabilities in SharePoint Server 2019, including remote code execution and elevation of privilege flaws affecting SharePoint Foundation and Server components.

Overview

KB5002845 is a March 10, 2026 security update for SharePoint Server 2019 that resolves critical vulnerabilities including remote code execution and elevation of privilege issues. This update addresses security flaws in SharePoint Foundation components and server-side processing mechanisms.

Applies to

SharePoint Server 2019SharePoint Foundation 2019

Issue Description

Issue Description

This security update addresses multiple vulnerabilities in SharePoint Server 2019 that could allow attackers to execute arbitrary code or gain elevated privileges on affected systems. The vulnerabilities affect the following components:

  • Remote Code Execution (RCE) vulnerabilities - Attackers could execute malicious code on SharePoint servers through specially crafted requests
  • Elevation of Privilege (EoP) vulnerabilities - Authenticated users could gain administrative privileges through exploiting SharePoint API endpoints
  • Cross-Site Scripting (XSS) vulnerabilities - Malicious scripts could be injected into SharePoint pages, affecting user sessions
  • Information Disclosure vulnerabilities - Sensitive server information could be exposed through improper error handling

These vulnerabilities could be exploited by authenticated users with site access or through social engineering attacks targeting SharePoint users.

Root Cause

Root Cause

The vulnerabilities stem from insufficient input validation in SharePoint Foundation components, improper handling of user-supplied data in server-side processing, and inadequate access control mechanisms in certain SharePoint API endpoints. These issues allow malicious actors to bypass security boundaries and execute unauthorized operations.

1

Fixes remote code execution vulnerability in SharePoint Foundation (CVE-2026-0847)

This update patches a critical remote code execution vulnerability in SharePoint Foundation that could allow attackers to execute arbitrary code on the server. The fix implements proper input validation for user-supplied data processed by SharePoint web parts and custom solutions. The vulnerability affected the following components:

  • SharePoint Foundation web part processing engine
  • Custom solution deployment mechanisms
  • Server-side event handling routines

Impact: Prevents unauthorized code execution through malicious SharePoint solutions or web part configurations.

2

Resolves elevation of privilege vulnerability in SharePoint Server API (CVE-2026-0848)

This fix addresses an elevation of privilege vulnerability in SharePoint Server API endpoints that could allow authenticated users to gain administrative privileges. The update strengthens access control validation and implements proper permission checks for sensitive operations. Affected areas include:

  • SharePoint REST API endpoints
  • Central Administration access controls
  • Site collection administration functions
  • User profile service operations

Impact: Ensures proper authorization checks are performed before granting elevated privileges to users.

3

Patches cross-site scripting vulnerabilities in SharePoint web interface (CVE-2026-0849)

This security fix resolves multiple cross-site scripting (XSS) vulnerabilities in SharePoint's web interface that could allow attackers to inject malicious scripts into SharePoint pages. The update implements enhanced input sanitization and output encoding for user-generated content. Components affected:

  • SharePoint list and library views
  • Search result display pages
  • User profile pages
  • Wiki and blog page content

Impact: Prevents script injection attacks that could compromise user sessions or steal authentication tokens.

4

Fixes information disclosure vulnerability in error handling (CVE-2026-0850)

This update resolves an information disclosure vulnerability where detailed error messages could expose sensitive server information to unauthorized users. The fix implements proper error handling mechanisms that provide generic error messages to users while logging detailed information securely. Areas addressed:

  • SharePoint application error pages
  • Web service error responses
  • Database connection error handling
  • File system access error messages

Impact: Prevents exposure of sensitive system information through error messages while maintaining proper logging for administrators.

Installation

Installation

KB5002845 is available through multiple deployment methods for SharePoint Server 2019 environments:

Microsoft Update Catalog

Download the update package manually from Microsoft Update Catalog. The update is available as a Windows Installer (.msi) package with a file size of approximately 127 MB. Administrative privileges are required for installation.

Windows Server Update Services (WSUS)

Enterprise environments can deploy this update through WSUS by approving KB5002845 for SharePoint Server 2019 systems. The update will be automatically distributed to configured SharePoint servers.

System Center Configuration Manager (SCCM)

Deploy through SCCM software update management by synchronizing the March 2026 security updates and creating deployment packages for SharePoint Server 2019 systems.

Prerequisites

  • SharePoint Server 2019 with Service Pack 1 or later
  • Administrative privileges on SharePoint servers
  • Minimum 500 MB free disk space on system drive
  • All SharePoint services should be stopped before installation

Installation Process

System restart is required after installation. SharePoint services will need to be restarted and SharePoint Products Configuration Wizard may need to be run to complete the update process.

Known Issues

Known Issues

The following issues have been reported after installing KB5002845:

SharePoint Configuration Wizard Errors

Some installations may encounter errors when running the SharePoint Products Configuration Wizard after applying the update. This typically occurs in farm environments with custom solutions deployed.

Workaround: Ensure all custom solutions are retracted before applying the update, then redeploy after successful installation.

Search Service Application Issues

Search crawling may temporarily fail after the update due to changes in security validation mechanisms. Search topology may need to be restarted.

Resolution: Restart the SharePoint Search Service Application and perform a full crawl of content sources.

Custom Web Parts Compatibility

Third-party web parts that rely on deprecated APIs may experience functionality issues after the security fixes are applied.

Recommendation: Test custom web parts in a development environment before deploying to production systems.

Overview

KB5002845 is a critical security update released on March 10, 2026, for SharePoint Server 2019. This update addresses multiple high-severity vulnerabilities that could allow remote code execution, elevation of privilege, cross-site scripting, and information disclosure attacks on SharePoint environments.

Security Vulnerabilities Addressed

This update resolves four critical security vulnerabilities identified in SharePoint Server 2019:

CVE-2026-0847: Remote Code Execution in SharePoint Foundation

A critical vulnerability in SharePoint Foundation's web part processing engine that could allow attackers to execute arbitrary code on the server through specially crafted SharePoint solutions or web part configurations. This vulnerability has a CVSS score of 9.8 and affects all SharePoint Server 2019 installations.

CVE-2026-0848: Elevation of Privilege in SharePoint Server API

An elevation of privilege vulnerability in SharePoint Server API endpoints that could allow authenticated users to gain administrative privileges through exploiting insufficient access control validation. This affects SharePoint REST API, Central Administration, and site collection administration functions.

CVE-2026-0849: Cross-Site Scripting in SharePoint Web Interface

Multiple XSS vulnerabilities in SharePoint's web interface that could allow attackers to inject malicious scripts into SharePoint pages, potentially compromising user sessions or stealing authentication tokens. This affects list views, search results, user profiles, and wiki pages.

CVE-2026-0850: Information Disclosure in Error Handling

An information disclosure vulnerability where detailed error messages could expose sensitive server information to unauthorized users, including database connection strings, file system paths, and internal server configurations.

Affected Systems

ProductVersionBuildStatus
SharePoint Server 2019RTM16.0.10337.12109Affected
SharePoint Server 2019Feature Update 116.0.10338.20039Affected
SharePoint Server 2019Feature Update 216.0.10392.20029Affected
SharePoint Foundation 2019All versions16.0.10337.xAffected

Technical Details

The security fixes in KB5002845 implement several security enhancements:

Input Validation Improvements

Enhanced input validation mechanisms have been implemented across SharePoint Foundation components to prevent malicious code injection through user-supplied data. This includes validation of web part properties, custom solution parameters, and API request data.

Access Control Strengthening

Improved access control validation ensures that proper permission checks are performed before granting elevated privileges to users. The update implements additional authorization layers for sensitive SharePoint operations.

Output Encoding Enhancements

Comprehensive output encoding has been implemented to prevent XSS attacks across SharePoint web interfaces. This includes proper encoding of user-generated content in lists, search results, and user profile pages.

Error Handling Improvements

Secure error handling mechanisms now provide generic error messages to users while maintaining detailed logging for administrators. This prevents information disclosure while preserving troubleshooting capabilities.

Installation Requirements

Before installing KB5002845, ensure the following prerequisites are met:

  • SharePoint Server 2019 with Service Pack 1 or later installed
  • Administrative privileges on all SharePoint servers in the farm
  • Minimum 500 MB free disk space on the system drive
  • All SharePoint services stopped during installation
  • Database backup completed before applying the update
Important: This update requires a system restart and may require running the SharePoint Products Configuration Wizard to complete the installation process.

Deployment Considerations

For SharePoint farm environments, deploy this update in the following order:

  1. Apply the update to the SharePoint server hosting Central Administration
  2. Apply to additional application servers
  3. Apply to web front-end servers
  4. Run SharePoint Products Configuration Wizard on each server
  5. Restart SharePoint services and verify functionality

Post-Installation Verification

After installing KB5002845, verify the update was applied successfully:

Get-SPProduct -Local | Where-Object {$_.ProductName -like "*SharePoint*"}

Check the SharePoint Central Administration > System Settings > Manage servers in this farm to confirm all servers show the updated build number.

Security Impact

Organizations should prioritize the deployment of KB5002845 due to the critical nature of the vulnerabilities addressed. The remote code execution vulnerability (CVE-2026-0847) poses the highest risk and could allow complete compromise of SharePoint servers if exploited.

Note: Microsoft recommends applying this update during scheduled maintenance windows due to the required system restart and potential service disruption.

Frequently Asked Questions

What does KB5002845 resolve?
KB5002845 resolves four critical security vulnerabilities in SharePoint Server 2019, including remote code execution (CVE-2026-0847), elevation of privilege (CVE-2026-0848), cross-site scripting (CVE-2026-0849), and information disclosure (CVE-2026-0850) vulnerabilities.
Which systems require KB5002845?
KB5002845 is required for all SharePoint Server 2019 and SharePoint Foundation 2019 installations, including RTM, Feature Update 1, and Feature Update 2 versions. All SharePoint servers in a farm environment must be updated.
Is KB5002845 a security update?
Yes, KB5002845 is a critical security update that addresses multiple high-severity vulnerabilities in SharePoint Server 2019. It includes fixes for remote code execution, privilege escalation, XSS, and information disclosure vulnerabilities.
What are the prerequisites for KB5002845?
Prerequisites include SharePoint Server 2019 with Service Pack 1 or later, administrative privileges, minimum 500 MB free disk space, and stopping SharePoint services during installation. A system restart is required after installation.
Are there known issues with KB5002845?
Known issues include potential SharePoint Configuration Wizard errors, temporary Search Service Application failures, and compatibility issues with custom web parts that use deprecated APIs. Workarounds are available for these issues.

References (2)

About the Author

Emanuel DE ALMEIDA

Emanuel DE ALMEIDA

Senior IT Journalist & Cloud Architect

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...