Pangolin Encoded Paths Break The Access Boundary
Pangolin path rules could misread encoded traversal while backends served protected content. Upgrade, test raw paths and review edge logs.
Pangolin versions before 1.21.0 could evaluate one representation of a request path while a protected backend served another. A path-based `Bypass Auth` rule might accept a request under a public prefix because Pangolin split only on literal slashes. Its default Traefik configuration allowed encoded slashes, and a backend could decode those separators plus `..` segments into a protected path. The public proof used a request shaped like `public%2F..%2Fadmin` to reach content that normally required authentication. The advisory does not report active exploitation.
Upgrade every Pangolin deployment to at least 1.21.0 and preferably a current supported stable release. The fix percent-decodes path segments, splits separators created by decoding and resolves dot segments before matching policy. Preserve raw edge requests and backend logs, search for encoded separators and traversal patterns, and identify every public resource using path-based authentication bypasses. A version update closes the known comparison flaw but does not reveal what an old gateway may already have served.
Key Takeaways
- check_circle GHSA-5h3v-3645-78xj rates the flaw Critical at CVSS 4.0 9.2; CVE-2026-136132 was published on November 24.
- check_circle The vulnerable condition combines Pangolin before 1.21.0, a path-based access rule and a backend that decodes encoded separators or traversal differently.
- check_circle The attack is unauthenticated and needs no user interaction, but it exposes only routes reachable through the affected rule and backend interpretation.
- check_circle Pangolin 1.21.0 shipped in July and contains the fix, so this is a newly public defect with an older available remediation, not a newly released emergency patch.
- check_circle The patch normalizes the request before authorization and adds regression tests for literal and encoded traversal in both directions.
- check_circle Detection requires both edge and backend evidence because proxies, frameworks and logging layers may store different forms of the same path.
One Request Path Had Two Meanings
Pangolin publishes web resources through an access gateway and can apply rules to paths. A common design makes a public area available without authentication while keeping another area behind login. Before 1.21.0, the path matcher normalized a value by splitting it only on literal `/` characters and removing empty components. It did not first decode percent-encoded separators or resolve `.` and `..` segments.
The shipped Traefik configuration allowed encoded slashes. A request such as `public%2F..%2Fadmin` could therefore reach Pangolin with the encoded separators intact. The policy matcher saw a value beginning with the allowed public segment, while a downstream server could decode the separators, resolve the parent segment and serve `/admin`. The gateway authorized the string it saw; the backend acted on the path it derived.
The advisory demonstrates this against a public HTTP resource with authentication enabled and a `Bypass Auth` rule for `public/*`. The normal `/admin/` request was redirected to authentication, while the encoded traversal returned the administrator content. The researcher reports the same result on a hosted test and self-hosted Enterprise 1.20.0. That is a reproduced product flaw, not evidence of a real-world campaign.
Exposure Depends On Rules And Backend Behavior
The severity score describes an unauthenticated network path with high confidentiality impact, but not every Pangolin resource has the same exposure. A deployment needs an affected version and a path rule whose permitted prefix can be escaped. The protected backend must then interpret encoded separators or dot segments in a way that reaches a different route than Pangolin evaluated. Resources that require authentication for every path do not present this particular public-prefix transition.
Scope each resource individually. Record its FQDN, site, backend, public or private type, authentication method, path rules and the framework or server that ultimately handles the request. Include APIs and dashboards behind another internal reverse proxy. A second proxy can decode or normalize the path before the application, so testing only the final framework may miss the actual production interpretation chain.
Do not convert the advisory's confidentiality rating into unsupported impact. The published proof reads protected content; it does not demonstrate code execution, credential theft or modification on every backend. Those outcomes depend on what the bypassed route exposes. An administrative API, file browser or debug endpoint can still turn a read boundary failure into a larger incident through its own capabilities.
Test The Whole Proxy Chain After Updating
A dashboard version check is necessary but insufficient. Send a matrix of requests through the same DNS, CDN, load balancer, Traefik entry point, Pangolin resource and backend used by real clients. Include normal public and protected paths, literal dot segments, encoded slashes in upper and lower case, encoded dot segments, repeated separators and application-specific rewrite rules. A protected route must never become public because one layer decoded earlier or later than expected.
Verify positive behavior too. Public paths that legitimately contain encoded characters should still reach the intended resource, while malformed encodings should fail consistently. Capture the status, redirect, authenticated identity and backend route for each case. Run the tests without a session cookie and from an external network so a cached login, internal allowlist or alternate route does not mask the boundary.
The Pangolin update guide warns that migrations can change the database and that downgrading may be impossible, so operators should back up the `config` directory first. It also notes that generated Traefik changes may not apply when local configuration differs from the default. Compare the running Compose images and Traefik configuration with the reviewed deployment, especially on older or heavily customized installations.
Hunt For The Raw And Resolved Request
Preserve reverse-proxy, CDN, Traefik, Pangolin and backend logs before rotating or normalizing them. Search raw request targets for encoded slash forms such as `%2f` and `%2F` near dot segments, along with literal traversal and unusual requests under paths covered by `Bypass Auth` rules. Expand the search to percent-encoded dots and nested encodings according to the syntax your own stack accepts. A clean search is weak evidence if the edge stored only a decoded path.
Correlate each suspicious edge request with the backend's normalized route, response status, byte count, source address, user agent and any authenticated session. Look for a public request followed by access to administrative endpoints, downloads, configuration reads, token creation or account changes. The absence of a Pangolin session can be important because the flaw specifically crosses an authentication boundary, but proxies may omit cookies or identity fields from standard logs.
If protected content was returned, scope the data and capabilities of that route. Revoke credentials or sessions exposed through it, preserve application evidence and review downstream actions. If a privileged endpoint allowed state changes, handle the event as an application compromise rather than a gateway-only patch. The public advisory provides no campaign infrastructure or exploitation indicators, so the investigation must be built from local evidence.
Checklist
- Inventory every Pangolin instance and public HTTP resource with its running version, image digest, backend and path-based access rules.
- Back up the Pangolin configuration and upgrade every affected deployment to at least 1.21.0 or a current supported stable release.
- Verify the live version and compare customized Compose, Traefik and Badger configuration with the reviewed deployment files.
- Test unauthenticated normal, encoded and dot-segment paths through the complete production proxy chain, not only against the backend.
- Preserve raw edge and backend logs, then search for encoded separators, traversal sequences and protected-route responses without sessions.
- Investigate data reads and state changes on any bypassed endpoint, revoking exposed credentials and sessions according to evidence.
- Separate high-value administrative paths and require backend authentication so a gateway path rule is not the only security boundary.
Sources
- Pangolin GHSA-5h3v-3645-78xj encoded-path advisory open_in_new
- Pangolin path normalization fix commit 9561d23 open_in_new
- Pangolin 1.21.0 release notes open_in_new
- CVE-2026-136132 record open_in_new
- Pangolin self-hosted update guidance open_in_new
- Traefik encoded-character security guidance open_in_new
- IETF RFC 3986 URI syntax and path normalization open_in_new
Continue Reading
MediaWiki Fixes Make Extensions A Separate Patch Boundary
MediaWiki disclosed account-takeover and authentication flaws across extensions. Inventory modules, patch matching branches and audit changes.
Fider OAuth Flaw Lets Unverified Email Take Over Accounts
Fider linked unverified Google email claims to existing accounts. Upgrade to 0.40.0, audit provider links and review custom IdP trust.
Xen Orchestra Token Bypass Reaches Hypervisor Root
Vates says Xen Orchestra's empty-object token bypass is actively exploited. Update exact channels, hunt beyond weak logs and rebuild compromised stacks.