BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-0012 in Sap Host Agent and 1 more product

Medium 6.7

In SAP Host Agent (Windows) - versions 7.21, 7.22, an attacker who gains local membership to SAP_LocalAdmin could be able to replace executables with a malicious file that will be started under a privileged account. Note that by default all user members of SAP_LocaAdmin are denied the ability to logon locally by sec...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.16.7
EPSS0.2%
EPSS percentile8th
FixSee advisory

Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Sap Host Agent 7.21 7.22

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In SAP Host Agent (Windows) - versions 7.21, 7.22, an attacker who gains local membership to SAP_LocalAdmin could be able to replace executables with a malicious file that will be started under a privileged account. Note that by default all user members of SAP_LocaAdmin are denied the ability to logon locally by security policy so that this can only occur if the system has already been compromised.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-0012
BreachSpider IDBS-2023-GLOBAL-341297-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published2023-01-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-284: Improper Access Control

Software does not restrict or incorrectly restricts access to a resource.

Related attack patterns (CAPEC)

CAPEC-478 Modification of Windows Service Configuration via CWE-284

CAPEC-479 Malicious Root Certificate via CWE-284

CAPEC-546 Incomplete Data Deletion in a Multi-Tenant Environment via CWE-284

CAPEC-550 Install New Service via CWE-284

CAPEC-551 Modify Existing Service via CWE-284

Show all 17

CAPEC-552 Install Rootkit via CWE-284

CAPEC-556 Replace File Extension Handlers via CWE-284

CAPEC-558 Replace Trusted Executable via CWE-284

CAPEC-562 Modify Shared File via CWE-284

CAPEC-563 Add Malicious File to Shared Webroot via CWE-284

CAPEC-564 Run Software at Logon via CWE-284

CAPEC-19 Embedding Scripts within Scripts via CWE-284

CAPEC-502 Intent Spoof via CWE-284

CAPEC-503 WebView Exposure via CWE-284

CAPEC-536 Data Injected During Configuration via CWE-284

CAPEC-578 Disable Security Software via CWE-284

CAPEC-441 Malicious Logic Insertion via CWE-284

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in SAP Host Agent (Windows) versions 7.21 and 7.22 allows a local user with SAP_LocalAdmin membership to replace executables with malicious files, which will be executed under a privileged account. This can only occur if the system is already compromised, as local logon is denied by default for SAP_LocalAdmin members.

An attacker with local membership to the SAP_LocalAdmin group can replace legitimate executables with malicious ones. These malicious files will be executed with the privileges of the SAP Host Agent service, which typically runs with high privileges. The attack is only feasible if the system has been compromised to the extent that the local logon restriction for SAP_LocalAdmin members has been bypassed.

Questions

What is CVE-2023-0012?

A vulnerability in SAP Host Agent (Windows) versions 7.21 and 7.22 allows a local user with SAP_LocalAdmin membership to replace executables with malicious files, which will be executed under a privileged account. This can only occur if the system is already compromised, as local logon is denied by default for SAP_LocalAdmin members.

What is the CVSS score for CVE-2023-0012?

CVE-2023-0012 has CVSS 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2023-0012 actively exploited?

No confirmed active exploitation of CVE-2023-0012 as of 2026-09-25.

How do I remediate CVE-2023-0012?

Priority: MEDIUM. Advisory: https://launchpad.support.sap.com/#/notes/3276120 PSIRT: [email protected]

What systems are affected by CVE-2023-0012?

CVE-2023-0012 affects Sap Host Agent.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Sap","product":"Host Agent","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.