Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate or infer target application's configured ALB signer ARN
-
DeliveryCraft unsigned JWT with matching signer and malicious kid path payload
-
ExploitSubmit JWT to liboauth2-protected application endpoint
-
ExecutionLibrary appends unsanitized kid to alb_base_url pre-verification
-
PersistServer issues GET request to attacker-chosen internal path
-
ImpactAttacker receives or infers response from internal target
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application uses liboauth2 with the AWS ALB JWT verification mode enabled - specifically, the |
| Impact | The provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N, score 5.1) assigns a local attack vector, which is potentially inconsistent with the described scenario: an attacker crafting a JWT and submitting it to a network-exposed application endpoint is a network-reachable operation, not a local one. This discrepancy should be verified with the vendor - if the application only accepts JWTs from a co-located ALB process (not directly from the internet), AV:L is defensible, but in many AWS ALB deployments JWTs are forwarded as HTTP headers accessible to any caller. The absence of EPSS data and KEV listing means exploitation probability cannot be quantified from probabilistic signals; however, the low complexity (no special tooling) and zero privilege requirement (PR:N) offset the moderate score. The SSRF impact is limited to GET requests to internal paths, which cannot directly write data but can be leveraged for internal port scanning, metadata service probing (e.g., AWS IMDS at 169.254.169.254), or triggering side effects on internal HTTP services. No public exploit code has been identified at time of analysis, and CISA KEV status is not confirmed. Real-world risk is meaningfully higher for deployments where the application server has broad internal network access. |
| Exploit ScenarioDerived | An attacker targeting an application behind an AWS ALB that uses liboauth2 for JWT verification crafts a token with a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Server-Side Request Forgery in liboauth2 prior to version 2.3.0 allows an unauthenticated attacker to force any application using the AWS ALB JWT verification path to issue GET requests to arbitrary internal network paths. The vulnerability exists because the oauth2_jose_jwks_aws_alb_resolve() function reads the unverified kid JWT header field and appends it directly to the configured alb_base_url - without URL encoding or path sanitization - before any cryptographic signature check occurs. No public exploit code has been identified at time of analysis, but the low attack complexity and zero privilege requirement make this a meaningful risk for AWS-integrated deployments where liboauth2 handles ALB token verification.
RemediationAI
Upgrade liboauth2 to version 2.3.0 or later, which resolves the issue via commit 347507ac5b51f48c2933bbe49b2ee07c2af4712b (https://github.com/OpenIDC/liboauth2/commit/347507ac5b51f48c2933bbe49b2ee07c2af4712b). If an immediate upgrade is not possible, restrict the application's outbound HTTP connectivity using host-based firewall rules or security group policies to block requests to sensitive internal endpoints such as the AWS Instance Metadata Service (169.254.169.254), internal VPC services, and non-ALB endpoints - this limits the SSRF blast radius but does not eliminate the vulnerability. Additionally, deploying a WAF or API gateway that validates JWT structure before forwarding to liboauth2-protected services can reduce exposure, though this does not substitute for patching since the bypass occurs within the library itself. Both workarounds carry operational trade-offs: firewall rules require ongoing maintenance as internal topology changes, and WAF-based mitigations may introduce latency or false positives.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
liboauth2 (CPE: cpe:2.3:a:openidc:liboauth2:*:*:*:*:*:*:*:*) is an open-source C library maintained by the OpenIDC project, used primarily by Apache HTTP Server and nginx modules (such as mod_auth_openidc) to perform OAuth2 and OpenID Connect token validation. The vulnerable function oauth2_jose_jwks_aws_alb_resolve() implements key resolution for JWTs issued by AWS Application Load Balancers. The root cause is CWE-918 (Server-Side Request Forgery): the function reads both signer and kid from the JWT header before verifying the token's signature. If signer matches the operator-configured ARN, the raw kid value is concatenated onto alb_base_url and an HTTP GET is dispatched immediately - violating the fundamental security invariant that JWT header fields must be treated as untrusted input until signature verification completes. Because kid is not URL-encoded or path-sanitized, an attacker who controls the JWT can steer the server's outbound request to any internal path reachable from the application host. The fix is confirmed in commit 347507ac5b51f48c2933bbe49b2ee07c2af4712b and released as version 2.3.0.
Know when Liboauth2 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N
JWT submitted over network pre-verification requires no privileges; scope changes as SSRF reaches internal systems; no integrity or availability impact on the vulnerable system itself.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
Lifecycle Timeline
1DescriptionCVE.org
liboauth2 is vulnerable to Server-Side Request Forgery in oauth2_jose_jwks_aws_alb_resolve() function. The AWS ALB verifier reads both signer and kid from the unverified JWT header. If signer matches the configured ARN, kid is appended to alb_base_url without URL encoding or path sanitization, and the HTTP GET is issued before signature verification. This allows an attacker to force the server to send a GET request to an attacker-chosen internal path.
This issue was fixed in version 2.3.0
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-41276
GHSA-qrcr-3862-9f4c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB