Backstage: Insufficient audience validation in the Cloudflare Access auth provider
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | @backstage/plugin-auth-backend-module-cloudflare-access-provider | >= 0.1.0, < 0.5.0 | 0.5.0 |
Verweise
- https://github.com/backstage/backstage/security/advisories/GHSA-q333-f498-w2x7
- https://nvd.nist.gov/vuln/detail/CVE-2026-106457
- https://github.com/backstage/backstage/commit/ed9034cacd9def3b3674f0a764fe992f751e204d
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.55.0
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-287- Plattform
- npm
- Paket
@backstage/plugin-auth-backend-module-cloudflare-access-provider- Veröffentlicht
- 07.10.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-q333-f498-w2x7 - CC BY 4.0
Schwachstellenhistorie: @backstage/plugin-auth-backend-module-cloudflare-access-provider
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.