CVE-2026-30834: Github.com/pinchtab/pinchtab/cmd/pinchtab PinchTab Has SSRF With Full Vulnerability

HIGH
Advisory Identifier: GHSA-rw8p-c6hf-q3pg
CVSS 7.5
CWE-918
Published
Advisory Summary

CVE-2026-30834 is a HIGH (CVSS 7.5) pinchtab has ssrf with full vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/pinchtab/pinchtab/cmd/pinchtab libraries in the Go ecosystem. The issue involves pinchtab has ssrf with full response exfiltration via download handler. Remediation is available by upgrading affected packages to version 0.7.7.

CVE-2026-30834 at a Glance

CVE Identifier CVE-2026-30834
GHSA Identifier GHSA-rw8p-c6hf-q3pg
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Github.com/pinchtab/pinchtab/cmd/pinchtab
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:U/C:H/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 Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-30834

To remediate this vulnerability, upgrade all affected Github.com/pinchtab/pinchtab/cmd/pinchtab 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/pinchtab/pinchtab/cmd/pinchtab fixed: 0.7.7
Upgrade github.com/pinchtab/pinchtab/cmd/pinchtab to 0.7.7
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/pinchtab/pinchtab/cmd/pinchtab

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-30834, inspect your project dependencies for Github.com/pinchtab/pinchtab/cmd/pinchtab:

inspect dependencies for github.com/pinchtab/pinchtab/cmd/pinchtab

Analyze the terminal output to locate any version of Github.com/pinchtab/pinchtab/cmd/pinchtab in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.7), 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/pinchtab/pinchtab/cmd/pinchtab, 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

# SSRF with Full Response Exfiltration via Download Handler ### Summary A Server-Side Request Forgery (SSRF) vulnerability in the `/download` endpoint allows any user with API access to induce the PinchTab server to make requests to arbitrary URLs, including internal network services and local system files, and exfiltrate the full response content. ### Details The `GET /download?url=<url>` handler in [download.go](file:///Users/quan.m.le/Workspaces/pinchtab/internal/handlers/download.go#L78) accepts a user-controlled `url` parameter and passes it directly to `chromedp.Navigate(dlURL)` without any validation or sanitization. ```go // internal/handlers/download.go:78 if err := chromedp.Run(ctx, chromedp.Navigate(dlURL)); err != nil { return fmt.Errorf("navigate to %s: %w", dlURL, err) } ``` Since the request is performed by the headless Chrome browser instance managed by PinchTab, it can access: 1. **Local Files**: Using the `file://` scheme (e.g., `file:///etc/passwd`). 2. **Internal Services**: Accessing services bound to `localhost` or internal network IPs that are not reachable from the outside. 3. **Cloud Metadata**: Accessing cloud provider metadata endpoints (e.g., `169.254.169.254`). The server then returns the captured response body directly to the attacker, enabling full exfiltration of sensitive data. ### PoC To reproduce the vulnerability, ensure the PinchTab server is running and accessible. 1. **Local File Read**: Execute the following curl command to read `/etc/passwd`: ```bash curl -X GET "http://localhost:9867/download?url=file:///etc/passwd" ``` 2. **Internal Service Access**: If a service is running on `localhost:8080`, access it via: ```bash curl -X GET "http://localhost:9867/download?url=http://localhost:8080/internal-admin" ``` The response will contain the content of the targeted file or service. PoC video: https://github.com/user-attachments/assets/b15776ea-13cc-4534-ba7b-6d5c4e0ee74f ### Impact This is a high-severity SSRF vulnerability. It impacts the confidentiality and security of the host system and the internal network where PinchTab is deployed. Attackers can exfiltrate sensitive system files, probe internal network infrastructure, and potentially gain access to internal management interfaces or cloud credentials. While PinchTab is often used in local environments, any deployment where the API is exposed (even with authentication) allows a compromised or malicious client to pivot into the internal network.

CVE-2026-30834 Affected Github.com/pinchtab/pinchtab/cmd/pinchtab Versions

1 component(s)
Fixed Versions:
0.7.7
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pinchtab/pinchtab/cmd/pinchtab
Go
< 0.7.7
0.7.7

References

Frequently Asked Questions

What is CVE-2026-30834?
CVE-2026-30834 is a security vulnerability in Github.com/pinchtab/pinchtab/cmd/pinchtab involving PinchTab has SSRF with Full Response Exfiltration via Download Handler under CWE-918: Server-Side Request Forgery (SSRF).
Which Github.com/pinchtab/pinchtab/cmd/pinchtab versions are affected?
Affected versions include releases prior to 0.7.7 across affected packages: github.com/pinchtab/pinchtab/cmd/pinchtab.
What version fixes CVE-2026-30834?
Upgrading to 0.7.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pinchtab/pinchtab/cmd/pinchtab affected?
Yes, github.com/pinchtab/pinchtab/cmd/pinchtab is affected in releases prior to 0.7.7. Upgrade your dependency to 0.7.7 or later.
What is the CVSS score of CVE-2026-30834?
CVE-2026-30834 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-30834?
CVE-2026-30834 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-30834?
Run the dependency tree command: 'inspect dependencies for github.com/pinchtab/pinchtab/cmd/pinchtab'. 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-rw8p-c6hf-q3pg",
  "modified" : "2026-03-09T15:50:19Z",
  "published" : "2026-03-06T18:40:58Z",
  "aliases" : [ "CVE-2026-30834" ],
  "summary" : "PinchTab has SSRF with Full Response Exfiltration via Download Handler",
  "details" : "# SSRF with Full Response Exfiltration via Download Handler\n\n### Summary\nA Server-Side Request Forgery (SSRF) vulnerability in the `/download` endpoint allows any user with API access to induce the PinchTab server to make requests to arbitrary URLs, including internal network services and local system files, and exfiltrate the full response content.\n\n### Details\nThe `GET /download?url=<url>` handler in [download.go](file:///Users/quan.m.le/Workspaces/pinchtab/internal/handlers/download.go#L78) accepts a user-controlled `url` parameter and passes it directly to `chromedp.Navigate(dlURL)` without any validation or sanitization.\n\n```go\n// internal/handlers/download.go:78\nif err := chromedp.Run(ctx, chromedp.Navigate(dlURL)); err != nil {\n    return fmt.Errorf(\"navigate to %s: %w\", dlURL, err)\n}\n```\n\nSince the request is performed by the headless Chrome browser instance managed by PinchTab, it can access:\n1.  **Local Files**: Using the `file://` scheme (e.g., `file:///etc/passwd`).\n2.  **Internal Services**: Accessing services bound to `localhost` or internal network IPs that are not reachable from the outside.\n3.  **Cloud Metadata**: Accessing cloud provider metadata endpoints (e.g., `169.254.169.254`).\n\nThe server then returns the captured response body directly to the attacker, enabling full exfiltration of sensitive data.\n\n### PoC\nTo reproduce the vulnerability, ensure the PinchTab server is running and accessible.\n\n1.  **Local File Read**:\n    Execute the following curl command to read `/etc/passwd`:\n    ```bash\n    curl -X GET \"http://localhost:9867/download?url=file:///etc/passwd\"\n    ```\n\n2.  **Internal Service Access**:\n    If a service is running on `localhost:8080`, access it via:\n    ```bash\n    curl -X GET \"http://localhost:9867/download?url=http://localhost:8080/internal-admin\"\n    ```\n\nThe response will contain the content of the targeted file or service.\n\n\nPoC video:\n\nhttps://github.com/user-attachments/assets/b15776ea-13cc-4534-ba7b-6d5c4e0ee74f\n\n### Impact\nThis is a high-severity SSRF vulnerability. It impacts the confidentiality and security of the host system and the internal network where PinchTab is deployed. Attackers can exfiltrate sensitive system files, probe internal network infrastructure, and potentially gain access to internal management interfaces or cloud credentials. While PinchTab is often used in local environments, any deployment where the API is exposed (even with authentication) allows a compromised or malicious client to pivot into the internal network.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pinchtab/pinchtab/cmd/pinchtab"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.7.6"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pinchtab/pinchtab/security/advisories/GHSA-rw8p-c6hf-q3pg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-30834"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pinchtab/pinchtab"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-06T18:40:58Z",
    "nvd_published_at" : "2026-03-07T16:15:56Z"
  }
}