CWE-302Weakness · CWE-302

CVE-2025-24876

HIGH · 8.1 CVSS v3.1 Published 2025-02-11
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
88/100
Remediation priority · High
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

The SAP Approuter Node.js package versions v16.7.1 and before contains an authentication bypass vulnerability in the OAuth authorization code exchange flow. Attackers can inject malicious payloads during the code token exchange to steal victim sessions, achieving high impact on confidentiality and integrity.

MitigationUpgrade SAP Approuter to v16.7.2 or later, and implement strict input validation on all OAuth authorization code exchange parameters.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify SAP Approuter installation
    Check if the SAP Approuter Node.js package is installed by looking for it in your project's package.json dependencies or by running 'npm list @sap/approuter' or 'npm list sap-approuter' in your project directory
    Affected if The package is listed in dependencies but no version is shown or the version resolves to 16.7.1 or lower
  2. Determine installed version
    Run 'npm list @sap/approuter' or check the installed version in node_modules/@sap/approuter/package.json under the 'version' field
    Affected if The installed version is 16.7.1 or any version lower than 16.7.2
  3. Verify OAuth authorization code flow is in use
    Review your application configuration files (such as xs-app.json or environment variables) for OAuth-related settings, particularly any 'authorizationCode' or 'oauth' configuration in the authentication section
    Affected if OAuth authorization code exchange is configured and used in your SAP Approuter setup
  4. Check for custom OAuth parameter handling
    Inspect any custom code or configuration that handles OAuth authorization code exchange parameters, looking for where the code token exchange occurs
    Affected if Custom parameter handling exists in the OAuth flow without strict input validation in place

Your environment is affected if SAP Approuter is installed with version 16.7.1 or earlier AND OAuth authorization code exchange is configured, because the authentication bypass allows attackers to inject malicious payloads during the token exchange.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade SAP Approuter to v16.7.2 or later, and implement strict input validation on all OAuth authorization code exchange parameters.

Recommended fix Moderate confidence

v16.7.2 or later (latest stable release)

  1. Check the current version of @sap/approuter package in your project by running: npm list @sap/approuter
  2. Upgrade to the latest available version of @sap/approuter by running: npm install @sap/approuter@latest
  3. Verify the upgrade was successful by running: npm list @sap/approuter
  4. Review SAP security notes for any additional configuration changes required for the new version
  5. Test the application thoroughly after upgrading to ensure authentication flows work correctly
  6. Ensure any dependent packages are also compatible with the new version
Caveat Review SAP release notes for potential breaking changes between v16.7.1 and the target version, particularly around authentication and session handling

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing8.0 h
  • Review / QA4.0 h
24.0 hours of engineering $4,160
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-24876 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-24876 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data