CVE-2026-44502: Bugsink Bunsink Has An SSRF Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-fp53-qcf8-2xx2
CVSS 4.3
CWE-918
Published
Advisory Summary

CVE-2026-44502 is a MODERATE (CVSS 4.3) bunsink has an ssrf bypass vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Bugsink libraries in the PyPI ecosystem. The issue involves bunsink has an ssrf bypass in `validate_webhook_url`. Remediation is available by upgrading affected packages to version 2.1.3.

CVE-2026-44502 at a Glance

CVE Identifier CVE-2026-44502
GHSA Identifier GHSA-fp53-qcf8-2xx2
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Bugsink
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2026-44502

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

bugsink fixed: 2.1.3
pip install bugsink>=2.1.3
Verify Direct and Transitive Dependencies

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

pip show bugsink

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-44502, inspect your installed packages using pip:

pip show bugsink

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

Note: The pip show bugsink command checks currently installed packages in your active Python environment.

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 Bugsink, 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

## Summary Bugsink’s webhook URL validation in versions 2.1.2 and earlier could be (partially) bypassed because of a mismatch in URL parsing. In some malformed URLs, Python’s standard URL parser (urllib) and the HTTP client stack (requests / urllib3) do not agree on which host is actually being targeted. That could allow a webhook URL to pass Bugsink’s outbound-host checks while the actual HTTP request is sent somewhere else. ## Impact This issue affects Bugsink’s outbound webhook integrations. An attacker who can supply or influence a webhook URL may be able to make Bugsink send an outbound HTTP POST request to a host that should have been blocked by the webhook validation logic, including loopback, private, or otherwise non-allowlisted destinations. The practical impact is limited: - this is an outbound webhook SSRF issue, not a general-purpose proxy - Bugsink does not follow redirects for these webhook requests - the request shape is constrained by how the malformed URL is normalized by the HTTP client - this does not give arbitrary control over every possible request path In other words, this is a real validation bypass, but it is narrower than a full arbitrary-request primitive. ## Technical Details The original validation logic parsed webhook URLs with Python’s urllib.parse.urlparse, then sent the request with requests.post. For malformed inputs involving backslashes and @, those components can disagree about where the authority ends and which hostname is the real target. A URL may therefore appear to target an allowlisted public hostname during validation, while the HTTP client actually connects to a different host. ## Fix The fix has two parts: 1. Bugsink now normalizes webhook URLs using the same HTTP client stack that will later send them, and applies validation to that normalized form. 2. Bugsink now outright rejects raw webhook URLs containing characters outside the RFC URL character set, rather than relying on downstream normalization of malformed input. Together, these changes remove the parser discrepancy and make webhook URL handling stricter and more predictable. ## Workarounds If users cannot upgrade immediately: - restrict who can configure or modify webhook URLs - review existing webhook configurations for malformed or unusual URLs - prefer tightly controlled outbound network policy at the deployment level

CVE-2026-44502 Affected Bugsink Versions

1 component(s)
Fixed Versions:
2.1.3
Product / Package Ecosystem Affected Versions Fixed Version
bugsink
PyPI
< 2.1.3
2.1.3

References

Frequently Asked Questions

What is CVE-2026-44502?
CVE-2026-44502 is a security vulnerability in Bugsink involving Bunsink has an SSRF bypass in `validate_webhook_url` under CWE-918: Server-Side Request Forgery (SSRF).
Which Bugsink versions are affected?
Affected versions include releases prior to 2.1.3 across affected packages: bugsink.
What version fixes CVE-2026-44502?
Upgrading to 2.1.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bugsink affected?
Yes, bugsink is affected in releases prior to 2.1.3. Upgrade your dependency to 2.1.3 or later.
What is the CVSS score of CVE-2026-44502?
CVE-2026-44502 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-44502?
CVE-2026-44502 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 PyPI dependencies for CVE-2026-44502?
Run the dependency tree command: 'pip show bugsink'. 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-fp53-qcf8-2xx2",
  "modified" : "2026-06-08T23:27:22Z",
  "published" : "2026-05-08T19:09:04Z",
  "aliases" : [ "CVE-2026-44502" ],
  "summary" : "Bunsink has an SSRF bypass in `validate_webhook_url`",
  "details" : "## Summary\n\nBugsink’s webhook URL validation in versions 2.1.2 and earlier could be (partially) bypassed because of a mismatch in URL parsing.\n\nIn some malformed URLs, Python’s standard URL  parser (urllib) and the HTTP client stack (requests / urllib3) do not agree on which host is actually being targeted. That could allow a webhook URL to pass Bugsink’s outbound-host checks while the actual HTTP request is sent somewhere else.\n\n## Impact\n\nThis issue affects Bugsink’s outbound webhook integrations.\n\nAn attacker who can supply or influence a webhook URL may be able to make Bugsink send an outbound HTTP POST request to a host that should have been blocked by the webhook validation logic, including loopback,\nprivate, or otherwise non-allowlisted destinations.\n\nThe practical impact is limited:\n\n- this is an outbound webhook SSRF issue, not a general-purpose proxy\n- Bugsink does not follow redirects for these webhook requests\n- the request shape is constrained by how the malformed URL is normalized by the HTTP client\n- this does not give arbitrary control over every possible request path\n\nIn other words, this is a real validation bypass, but it is narrower than a full arbitrary-request primitive.\n\n## Technical Details\n\nThe original validation logic parsed webhook URLs with Python’s urllib.parse.urlparse, then sent the request with requests.post.\n\nFor malformed inputs involving backslashes and @, those components can disagree about where the authority ends and which hostname is the real target. A URL may therefore appear to target an allowlisted public\nhostname during validation, while the HTTP client actually connects to a different host.\n\n## Fix\n\nThe fix has two parts:\n\n1. Bugsink now normalizes webhook URLs using the same HTTP client stack that will later send them, and applies validation to that normalized form.\n2. Bugsink now outright rejects raw webhook URLs containing characters outside the RFC URL character set, rather than relying on downstream normalization of malformed input.\n\nTogether, these changes remove the parser discrepancy and make webhook URL handling stricter and more predictable.\n\n## Workarounds\n\nIf users cannot upgrade immediately:\n\n- restrict who can configure or modify webhook URLs\n- review existing webhook configurations for malformed or unusual URLs\n- prefer tightly controlled outbound network policy at the deployment level",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "bugsink"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.1.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.1.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/bugsink/bugsink/security/advisories/GHSA-fp53-qcf8-2xx2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44502"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bugsink/bugsink/commit/940d2df635e06803ef658666d734306942db5cc7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bugsink/bugsink"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bugsink/bugsink/releases/tag/2.1.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-08T19:09:04Z",
    "nvd_published_at" : "2026-05-26T17:16:46Z"
  }
}