6.8medium
Backstage: Insufficient audience validation in the Cloudflare Access auth provider
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-q333-f498-w2x7
Description
Backstage is an open framework for building developer portals. From 0.1.0 until 0.5.0, the @backstage/plugin-auth-backend-module-cloudflare-access-provider package is affected by insufficient audience validation in the cloudflare access auth provider. The Cloudflare Access auth provider verifies a token's signature and team issuer, but affected versions do not verify that the token was issued for the Backstage application. A user holding a valid token for another Access application in the same Cloudflare Zero Trust team may therefore be able to authenticate to Backstage if that token reaches the auth endpoint without the Backstage application's audience already being enforced upstream. Cloudflare Access normally evaluates the protected application before forwarding requests. This issue is fixed in version 0.5.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| backstage backstage | >= 1.26.0, < 1.55.0 | CVE List |
| @backstage plugin-auth-backend-module-cloudflare-access-provider | >= 0.1.0, < 0.5.0 | CVE List |
| @backstage/plugin-auth-backend-module-cloudflare-access-provider (npm) | from 0.1.0 before 0.5.0 | GitHub Advisory Database |
| linuxfoundation backstage/plugin-auth-backend-module-cloudflare-access-provider | from 0.1.0 before 0.5.0 | NVD |
| linuxfoundation backstage | from 1.26.0 before 1.55.0 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Backstage is an open framework for building developer portals. From 0.1.0 until 0.5.0, the @backstage/plugin-auth-backend-module-cloudflare-access-provider package is affected by insufficient audience validation in the cloudflare access auth provider. The Cloudflare Access auth provider verifies a token's signature and team issuer, but affected versions do not verify that the token was issued for the Backstage application. A user holding a valid token for another Access application in the same Cloudflare Zero Trust team may therefore be able to authenticate to Backstage if that token reaches the auth endpoint without the Backstage application's audience already being enforced upstream. Cloudflare Access normally evaluates the protected application before forwarding requests. This issue is fixed in version 0.5.0.
GitHub Advisory Database
Impact
The Cloudflare Access auth provider verifies a token's signature and team issuer, but affected versions do not verify that the token was issued for the Backstage application. A user holding a valid token for another Access application in the same Cloudflare Zero Trust team may therefore be able to authenticate to Backstage if that token reaches the auth endpoint without the Backstage application's audience already being enforced upstream.
Cloudflare Access normally evaluates the protected application before forwarding requests. The reported reproduction exercises the provider directly and does not demonstrate bypass through the ordinary Cloudflare-protected Backstage URL. Relevant deployment topologies include direct origin access, alternate routes around the intended Access application, or another proxy forwarding the assertion unchanged.
A successful sign-in also depends on the deployment's sign-in resolver mapping the presented identity to a Backstage user. The resulting impact depends on the permissions assigned to that identity.
Patches
Upgrade @backstage/plugin-auth-backend-module-cloudflare-access-provider to version 0.5.0 or later. The fixed package is available in Backstage v1.55.0.
This is a breaking configuration change. Before upgrading, set auth.providers.cfaccess.audience to the Audience (AUD) tag for the Backstage application in Cloudflare Zero Trust:
auth:
providers:
cfaccess:
teamName: example
audience: ${AUTH_CFACCESS_AUDIENCE}
Workarounds
- Restrict access to the Backstage auth endpoint to the intended Cloudflare Access application.
- Use a custom authenticator that validates the application audience.
- Disable the provider until the patched package can be deployed.
References
| https://github.com/backstage/backstage/security/advisories/GHSA-q333-f498-w2x7 | mitigation, vendor-advisory, web | |
| https://github.com/backstage/backstage/commit/ed9034cacd9def3b3674f0a764fe992f751e204d | patch, web | |
| https://github.com/backstage/backstage/releases/tag/v1.55.0 | patch, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-106457 | advisory | |
| https://github.com/backstage/backstage | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106457 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q333-f498-w2x7 changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-106457 changed 2026-10-27 | Public domain |