CVE-2021-41230: Incorrect authorization in github.com/pomerium/pomerium

github.com/pomerium/pomerium Updated 02 Oct 2025

Summary

14/01/2022
Yes i
Moderate
5.3

CVE-2021-41230: Incorrect authorization in github.com/pomerium/pomerium. Affects github.com/pomerium/pomerium versions < 0.15.6. Fixed in 0.15.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Pomerium is an open source identity-aware access proxy. It acts as a reverse proxy, allowing secure access to internal applications based on user identity and access policies. It provides features like single sign-on (SSO) and access control for web applications. The vulnerability affects the way Pomerium handles changes to the OpenID Connect (OIDC) claims of a user after initial login. When using the allowed_idp_claims feature as part of policy evaluation, changes to a user's claims are not reflected, leading to incorrect authorization decisions. Pomerium versions prior to 0.15.6 are affected by this vulnerability.

Vulnerability Detail

The vulnerability arises from the failure of Pomerium to update policy evaluation when a user's OIDC claims are modified after initial login. This can result in incorrect authorization decisions being made by Pomerium. The allowed_idp_claims feature, which is used to specify the required claims from the identity provider (IDP), is impacted by this issue. If a user's claims are changed, Pomerium may not re-evaluate the policy based on the updated claims, potentially allowing unauthorized access to protected resources. This vulnerability can be exploited by an attacker who can modify the claims of a user authenticated through an IDP.

How To Fix

Latest published version: v0.33.4 as of 22 Oct 2026

go get github.com/pomerium/pomerium@v0.33.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.15.6

This is the first release that contains the fix.

go get github.com/pomerium/pomerium@v0.15.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to regularly update Pomerium to the latest version and follow the upgrade instructions provided by the project. Additionally, ensuring that the databroker service is cleared or restarted when making changes to OIDC claims can help mitigate the impact of this vulnerability.

Conclusion

The vulnerability in Pomerium allows for incorrect authorization decisions when using the allowed_idp_claims feature. Upgrading to Pomerium version 0.15.6 or later and clearing the databroker service can fix this vulnerability. It is important to regularly update Pomerium and follow best practices for secure configuration. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for github.com/pomerium/pomerium →

Share this vulnerability

FAQ

Pomerium is an open source identity-aware access proxy that provides secure access to internal applications based on user identity and access policies. It offers features like single sign-on (SSO) and access control for web applications.

The allowed_idp_claims feature in Pomerium allows specifying the required claims from the identity provider (IDP) for policy evaluation. It ensures that only users with the specified claims are granted access to protected resources.

This vulnerability in Pomerium can lead to incorrect authorization decisions. If a user's OIDC claims are modified after initial login and the allowed_idp_claims feature is used in policy evaluation, Pomerium may not re-evaluate the policy based on the updated claims. This can potentially allow unauthorized access to protected resources.

To fix this vulnerability, it is recommended to upgrade to Pomerium version 0.15.6 or later. Additionally, clearing the databroker service by clearing Redis or restarting the in-memory databroker can ensure that the claims are updated and policy evaluation is accurate.

There is no specific workaround mentioned for this vulnerability. However, regularly updating Pomerium to the latest version and ensuring proper configuration of the allowed_idp_claims feature can help mitigate the impact of this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/pomerium/pomerium.

How To Fix

Latest published version: v0.33.4 as of 22 Oct 2026

go get github.com/pomerium/pomerium@v0.33.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.15.6

This is the first release that contains the fix.

go get github.com/pomerium/pomerium@v0.15.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback