Skip to main content

Heimdall CVE-2026-42272

| EUVDEUVD-2026-28508 HIGH
Interpretation Conflict (CWE-436)
2026-05-08 GitHub_M GHSA-43jv-5j4x-qv67
7.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Send HTTP request with lowercase-encoded slash (%2f)
  2. Delivery
    Heimdall path matcher fails to recognize encoded separator
  3. Exploit
    Request bypasses specific access control rule
  4. Install
    Default permissive rule executed
  5. C2
    Heimdall forwards request to backend
  6. Execute
    Upstream service normalizes %2f to /
  7. Impact
    Restricted endpoint accessed without authorization

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

Exploitation requires Heimdall deployed with 'allow_encoded_slashes' set to 'off' (the default value) AND configured with an overly permissive default rule (e.g., 'allow all' anonymous access for unmatched paths). Critical limiting factor: Heimdall v0.16.0 and later enforce secure defaults and refuse to start if the default rule is permissive, unless this enforcement is explicitly disabled via --insecure-skip-secure-default-rule-enforcement or --insecure command-line flags. Therefore, vulnerable configurations require either: (1) Heimdall version prior to 0.16.0, OR (2) versions 0.16.0-0.17.13 with intentional use of --insecure flags to bypass secure defaults. Additionally, successful exploitation requires that the upstream service behind Heimdall interprets percent-encoded slashes (%2f) as path separators (/) - most HTTP servers do this by default, but custom applications may vary. Deployments with properly configured 'deny by default' rules are NOT vulnerable regardless of version. Attack vector is network-based (AV:N), requires no authentication (PR:N), no user interaction (UI:N), and has low attack complexity (AC:L) once configuration prerequisites are met.

Impact

Real-world risk is conditional despite high CVSS 7.8 score. CVSS:4.0 vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible, unauthenticated attack with low complexity, and subsequent system confidentiality/integrity impact (SC:H/SI:H). However, exploitation requires two specific configuration weaknesses: (1) Heimdall deployed with 'allow_encoded_slashes' set to default 'off', AND (2) a permissive 'allow all' default rule - which Heimdall v0.16.0+ actively prevents unless secure defaults are explicitly disabled via --insecure flags. The GitHub advisory confirms this: 'The issue can only lead to unintended access if heimdall is configured with an allow all default rule. Since v0.16.0, heimdall enforces secure defaults and refuses to start with such a configuration.' For installations using v0.16.0-0.17.13 without insecure flags, exploitation is blocked by design. For older versions or intentionally insecure deployments, the vulnerability enables direct authorization bypass via trivial path manipulation. No EPSS data provided; KEV status is NO; publicly available exploit code exists (PR #3207 demonstrates the fix). Priority depends on deployment: CRITICAL for legacy or intentionally permissive configurations, LOW-MEDIUM for modern deployments with secure defaults enabled. Defenders should verify startup configuration and default rule policies rather than relying solely on version checks.

Exploit ScenarioDerived

An unauthenticated remote attacker sends an HTTP request to a Heimdall-protected API with a crafted path such as 'GET /admin%2fsecret' where lowercase %2f encodes a slash character. Heimdall's rule engine, treating %2f literally rather than as a path separator, fails to match the intended '/admin/' access control rule requiring authentication. The request bypasses to Heimdall's default rule, which in vulnerable configurations permits anonymous access. Heimdall forwards the request with the encoded path to the upstream service. The backend API normalizes %2f to /, processing the request as '/admin/secret' - a restricted endpoint. The attacker gains unauthorized access to administrative functionality or sensitive data that should have been blocked by the '/admin/' rule. Publicly available exploit code exists in PR #3207 demonstrating the case-sensitivity discrepancy.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Authorization bypass in Heimdall cloud-native Identity Aware Proxy affects versions prior to 0.17.14 due to case-sensitive URL-encoded slash handling. Remote unauthenticated attackers can craft requests with lowercase-encoded slashes (%2f) to evade path-based access controls when 'allow_encoded_slashes' is disabled (default). This discrepancy between Heimdall's path interpretation and upstream services enables access to restricted endpoints if a permissive default rule exists. GitHub reports a public fix (PR #3207, commit 8b0de6a) with patched version 0.17.14 released. No public exploit identified at time of analysis. CVSS 7.8 with CVSS:4.0 vector indicates network-accessible, low-complexity attack requiring no privileges or user interaction, though real-world impact depends on deployment configuration.

RemediationAI

Upgrade to Heimdall version 0.17.14 or later, available at https://github.com/dadrus/heimdall/releases/tag/v0.17.14. The fix is implemented in commit 8b0de6aba23a047cfee3081df878271bb17f4351 (PR #3207 at https://github.com/dadrus/heimdall/pull/3207). For environments unable to upgrade immediately, implement these compensating controls: (1) Configure Heimdall's default rule to implement 'deny by default' rather than 'allow all' - this is enforced automatically in v0.16.0+ unless explicitly disabled, so verify --insecure and --insecure-skip-secure-default-rule-enforcement flags are NOT used. (2) Deploy an upstream reverse proxy (e.g., Traefik, nginx with 'merge_slashes off') configured to reject requests containing any percent-encoded slashes (%2F or %2f) before they reach Heimdall - note this may break legitimate applications requiring encoded slashes. (3) Implement request validation in backend services to verify the rule ID in Heimdall-issued JWTs matches expected values for each endpoint, preventing unauthorized rule execution. All workarounds require configuration changes with potential application compatibility impacts; upgrading to v0.17.14 is the recommended permanent fix.

Affected VersionsENISA

Heimdall < 0.17.14

Affected Packages

go github.com/dadrus/heimdall fix: 0.17.14
euvd heimdall fix: 0.17.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Heimdall is a cloud-native Identity Aware Proxy implementing Zero Trust access control for microservices. The vulnerability stems from CWE-436 (Interpretation Conflict), where Heimdall treats percent-encoded characters case-sensitively despite RFC 3986 defining percent-encoding as case-insensitive. The affected component is Heimdall's URL path normalization module written in Go (github.com/dadrus/heimdall). When 'allow_encoded_slashes' is set to 'off' (default), Heimdall correctly rejects uppercase %2F but silently passes lowercase %2f. Upstream services (application servers, API gateways) typically normalize %2f to / during processing. This creates a TOCTOU-like condition where Heimdall authorizes based on the literal path '/admin%2fsecret' while the backend processes '/admin/secret'. The fix in v0.17.14 implements case-insensitive percent-encoding recognition. Note: Since v0.16.0, Heimdall enforces secure defaults and refuses to start with overly permissive default rules unless explicitly overridden via --insecure-skip-secure-default-rule-enforcement flag, significantly limiting real-world exploitability.

Know when Heimdall gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 08, 2026 - 05:01 EUVD
CVSS changed
May 08, 2026 - 04:22 NVD
7.8 (HIGH)
CVE Published
May 08, 2026 - 03:40 nvd
HIGH 7.8

DescriptionCVE.org

Heimdall is a cloud native Identity Aware Proxy and Access Control Decision service. Prior to version 0.17.14, Heimdall handles URL-encoded slashes (%2F) in a case-sensitive manner, while percent-encoding is defined to be case-insensitive. As a result, the lowercase equivalent (%2f) is not recognized and therefore not processed as expected when allow_encoded_slashes is set to off (the default setting). This discrepancy can lead to differences in how request paths are interpreted by heimdall and upstream components, which may result in authorization bypass. This issue has been patched in version 0.17.14.

Executive ViewAI

Why It Matters

Heimdall Identity Aware Proxy versions prior to 0.17.14 contain an authorization bypass vulnerability that allows unauthenticated remote attackers to circumvent path-based access controls through URL-encoded slash manipulation, potentially exposing restricted endpoints to unauthorized access. Organizations using Heimdall as a cloud-native authentication gateway face direct risk to sensitive application resources if default configurations with permissive rules are in place. This vulnerability requires immediate inventory and patching to prevent unauthorized access to protected services.

Business Impact: High
Compensating Controls

Vendor-released patch: version 0.17.14. Until patching is complete, implement network-level controls to restrict access to Heimdall endpoints, disable 'allow_encoded_slashes' parameter (verify default state), audit and tighten path-based access control rules to deny all non-essential routes, and monitor for encoded slash patterns in request logs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Heimdall Access Control Bypass

View all 3

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy