CVE-2025-24876: @sap/approuter Authentication Bypass Vulnerability
HIGHCVE-2025-24876 is a HIGH (CVSS 8.1) authentication bypass vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting @sap/approuter libraries in the npm ecosystem. The issue involves authentication bypass in @sap/approuter. Remediation is available by upgrading affected packages to version 16.7.2.
CVE-2025-24876 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-24876
To remediate this vulnerability, upgrade all affected @sap/approuter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @sap/approuter@16.7.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @sap/approuter
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-24876, inspect your project dependencies using npm:
npm ls @sap/approuter
Analyze the terminal output to locate any version of @sap/approuter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.7.2), your application is affected.
Note: The npm ls @sap/approuter command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In @sap/approuter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-24876 Affected @sap/approuter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@sap/approuter
|
npm |
≥ 2.6.1
< 16.7.2
|
16.7.2
|
References
Frequently Asked Questions
What is CVE-2025-24876?
Which @sap/approuter versions are affected?
What version fixes CVE-2025-24876?
Is @sap/approuter affected?
What is the CVSS score of CVE-2025-24876?
What CWE is associated with CVE-2025-24876?
How can I check npm dependencies for CVE-2025-24876?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cpfx-964w-4jvp",
"modified" : "2025-02-11T16:35:25Z",
"published" : "2025-02-11T03:30:56Z",
"aliases" : [ "CVE-2025-24876" ],
"summary" : "Authentication bypass in @sap/approuter",
"details" : "The SAP Approuter Node.js package version v16.7.1 and before is vulnerable to Authentication bypass. When trading an authorization code, an attacker can steal the session of the victim by injecting malicious payload, causing High impact on confidentiality and integrity of the application.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@sap/approuter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.1"
}, {
"fixed" : "16.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24876"
}, {
"type" : "WEB",
"url" : "https://me.sap.com/notes/3567974"
}, {
"type" : "WEB",
"url" : "https://support.sap.com/en/my-support/knowledge-base/security-notes-news/february-2025.html"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/@sap/approuter?activeTab=versions"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-11T16:35:25Z",
"nvd_published_at" : "2025-02-11T01:15:11Z"
}
}