CVE-2026-22772: Github.com/sigstore/fulcio Fulcio Is Vulnerable To Server-Side Vulnerability

MODERATE
Advisory Identifier: GHSA-59jp-pj84-45mr
CVSS 5.8
CWE-918
Published
Advisory Summary

CVE-2026-22772 is a MODERATE (CVSS 5.8) fulcio is vulnerable to server-side vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/sigstore/fulcio libraries in the Go ecosystem. The issue involves fulcio is vulnerable to server-side request forgery (ssrf) via metaissuer regex bypass. Remediation is available by upgrading affected packages to version 1.8.5.

CVE-2026-22772 at a Glance

CVE Identifier CVE-2026-22772
GHSA Identifier GHSA-59jp-pj84-45mr
Severity MODERATE
CVSS v3.1 Base Score 5.8
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Github.com/sigstore/fulcio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-22772

To remediate this vulnerability, upgrade all affected Github.com/sigstore/fulcio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/sigstore/fulcio fixed: 1.8.5
Upgrade github.com/sigstore/fulcio to 1.8.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/sigstore/fulcio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-22772, inspect your project dependencies for Github.com/sigstore/fulcio:

inspect dependencies for github.com/sigstore/fulcio

Analyze the terminal output to locate any version of Github.com/sigstore/fulcio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Github.com/sigstore/fulcio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Security Disclosure: SSRF via MetaIssuer Regex Bypass ## Summary Fulcio's `metaRegex()` function uses unanchored regex, allowing attackers to bypass MetaIssuer URL validation and trigger SSRF to arbitrary internal services. Since the SSRF only can trigger GET requests, the request cannot mutate state. The response from the GET request is not returned to the caller so data exfiltration is not possible. A malicious actor could attempt to probe an internal network through [Blind SSRF](https://portswigger.net/web-security/ssrf/blind). ## Impact - SSRF to cloud metadata (169.254.169.254) - SSRF to internal Kubernetes APIs - SSRF to any service accessible from Fulcio's network - Affects ALL deployments using MetaIssuers ## Patches Upgrade to v1.8.5. ## Workarounds None. If anchors are included in the meta issuer configuration URL, they will be escaped before the regular expression is compiled, not making this a sufficient mitigation. Deployments must upgrade to the latest Fulcio release v1.8.5. ## Affected Code **File**: `pkg/config/config.go` **Function**: `metaRegex()` (lines 143-156) ```go func metaRegex(issuer string) (*regexp.Regexp, error) { quoted := regexp.QuoteMeta(issuer) replaced := strings.ReplaceAll(quoted, regexp.QuoteMeta("*"), "[-_a-zA-Z0-9]+") return regexp.Compile(replaced) // Missing ^ and $ anchors } ``` ## The Bug The regex has no `^` (start) or `$` (end) anchors. Go's `regexp.MatchString()` does substring matching, so: ``` Pattern: https://oidc.eks.*.amazonaws.com/id/* Regex: https://oidc\.eks\.[-_a-zA-Z0-9]+\.amazonaws\.com/id/[-_a-zA-Z0-9]+ Input: https://attacker.com/x/https://oidc.eks.foo.amazonaws.com/id/bar Result: MATCHES (substring found) ``` ## Exploit 1. Attacker sends JWT with `iss` claim: `https://attacker.com/path/https://oidc.eks.x.amazonaws.com/id/y` 2. Fulcio's `GetIssuer()` matches this against MetaIssuer patterns 3. Unanchored regex matches the embedded pattern as substring 4. Fulcio calls `oidc.NewProvider()` with attacker's URL 5. HTTP request goes to `attacker.com`, not `amazonaws.com` 6. Attacker returns OIDC discovery with `jwks_uri` pointing to internal service 7. Fulcio fetches from internal service → SSRF

CVE-2026-22772 Affected Github.com/sigstore/fulcio Versions

1 component(s)
Fixed Versions:
1.8.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/sigstore/fulcio
Go
< 1.8.5
1.8.5

References

Frequently Asked Questions

What is CVE-2026-22772?
CVE-2026-22772 is a security vulnerability in Github.com/sigstore/fulcio involving Fulcio is vulnerable to Server-Side Request Forgery (SSRF) via MetaIssuer Regex Bypass under CWE-918: Server-Side Request Forgery (SSRF).
Which Github.com/sigstore/fulcio versions are affected?
Affected versions include releases prior to 1.8.5 across affected packages: github.com/sigstore/fulcio.
What version fixes CVE-2026-22772?
Upgrading to 1.8.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/sigstore/fulcio affected?
Yes, github.com/sigstore/fulcio is affected in releases prior to 1.8.5. Upgrade your dependency to 1.8.5 or later.
What is the CVSS score of CVE-2026-22772?
CVE-2026-22772 has a CVSS v3.1 base score of 5.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2026-22772?
CVE-2026-22772 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Go dependencies for CVE-2026-22772?
Run the dependency tree command: 'inspect dependencies for github.com/sigstore/fulcio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-59jp-pj84-45mr",
  "modified" : "2026-01-13T18:47:57Z",
  "published" : "2026-01-13T18:47:57Z",
  "aliases" : [ "CVE-2026-22772" ],
  "summary" : "Fulcio is vulnerable to Server-Side Request Forgery (SSRF) via MetaIssuer Regex Bypass",
  "details" : "# Security Disclosure: SSRF via MetaIssuer Regex Bypass\n\n## Summary\n\nFulcio's `metaRegex()` function uses unanchored regex, allowing attackers to bypass MetaIssuer URL validation and trigger SSRF to arbitrary internal services.\n\nSince the SSRF only can trigger GET requests, the request cannot mutate state. The response from the GET request is not returned to the caller so data exfiltration is not possible. A malicious actor could attempt to probe an internal network through [Blind SSRF](https://portswigger.net/web-security/ssrf/blind).\n\n## Impact\n\n- SSRF to cloud metadata (169.254.169.254)\n- SSRF to internal Kubernetes APIs\n- SSRF to any service accessible from Fulcio's network\n- Affects ALL deployments using MetaIssuers\n\n## Patches\n\nUpgrade to v1.8.5.\n\n## Workarounds\n\nNone. If anchors are included in the meta issuer configuration URL, they will be escaped before the regular expression is compiled, not making this a sufficient mitigation. Deployments must upgrade to the latest Fulcio release v1.8.5.\n\n## Affected Code\n\n**File**: `pkg/config/config.go`  \n**Function**: `metaRegex()` (lines 143-156)\n\n```go\nfunc metaRegex(issuer string) (*regexp.Regexp, error) {\n    quoted := regexp.QuoteMeta(issuer)\n    replaced := strings.ReplaceAll(quoted, regexp.QuoteMeta(\"*\"), \"[-_a-zA-Z0-9]+\")\n    return regexp.Compile(replaced)  // Missing ^ and $ anchors\n}\n```\n\n## The Bug\n\nThe regex has no `^` (start) or `$` (end) anchors. Go's `regexp.MatchString()` does substring matching, so:\n\n```\nPattern:  https://oidc.eks.*.amazonaws.com/id/*\nRegex:    https://oidc\\.eks\\.[-_a-zA-Z0-9]+\\.amazonaws\\.com/id/[-_a-zA-Z0-9]+\n\nInput:    https://attacker.com/x/https://oidc.eks.foo.amazonaws.com/id/bar\nResult:   MATCHES (substring found)\n```\n\n## Exploit\n\n1. Attacker sends JWT with `iss` claim: `https://attacker.com/path/https://oidc.eks.x.amazonaws.com/id/y`\n2. Fulcio's `GetIssuer()` matches this against MetaIssuer patterns\n3. Unanchored regex matches the embedded pattern as substring\n4. Fulcio calls `oidc.NewProvider()` with attacker's URL\n5. HTTP request goes to `attacker.com`, not `amazonaws.com`\n6. Attacker returns OIDC discovery with `jwks_uri` pointing to internal service\n7. Fulcio fetches from internal service → SSRF",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/sigstore/fulcio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.8.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.8.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sigstore/fulcio/security/advisories/GHSA-59jp-pj84-45mr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22772"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sigstore/fulcio/commit/eaae2f2be56df9dea5f9b439ec81bedae4c0978d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sigstore/fulcio"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-13T18:47:57Z",
    "nvd_published_at" : "2026-01-12T21:15:59Z"
  }
}