{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0-beta.1"
                  },
                  {
                    "last_affected": "2.0.0-beta.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.0.0-beta.2"
                  },
                  {
                    "last_affected": "2.0.0-beta.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.0.0-beta.3"
                  },
                  {
                    "last_affected": "2.0.0-beta.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "4214765d3966e72e1315b8d78eca23d47fe36a27"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.0.0-beta.4",
                "range": [
                  {
                    "fixed": "ebfd113360cc72a0713dc660d26182ba79e0ac3d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8f3cf351623beaf02211c8995ff90ad08820e062"
            },
            {
              "last_affected": "fe25ccab1db31e794ae9868dd6a83e7361a97c6a"
            },
            {
              "fixed": "4214765d3966e72e1315b8d78eca23d47fe36a27"
            },
            {
              "fixed": "ebfd113360cc72a0713dc660d26182ba79e0ac3d"
            }
          ],
          "repo": "https://github.com/gopeedlab/gopeed",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.0.0-beta.1",
        "2.0.0-beta.2",
        "2.0.0-beta.3"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138331.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.0.0-beta.0"
              },
              {
                "last_affected": "2.0.0-beta.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "A security flaw has been discovered in GopeedLab Gopeed up to 2.0.0-beta.3. The affected element is the function DoProxy of the file pkg/rest/api.go of the component Web Proxy Endpoint. Performing a manipulation of the argument X-Target-Uri results in server-side request forgery. The attack may be initiated remotely. Upgrading to version 2.0.0-beta.4 is sufficient to fix this issue. The patch is named 4214765d3966e72e1315b8d78eca23d47fe36a27. It is recommended to upgrade the affected component.",
  "id": "CVE-2026-138331",
  "modified": "2026-11-29T23:45:34.488121200Z",
  "published": "2026-11-29T22:45:11.978Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138331.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/GopeedLab/gopeed/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/GopeedLab/gopeed/commit/4214765d3966e72e1315b8d78eca23d47fe36a27"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/GopeedLab/gopeed/issues/1589"
    },
    {
      "type": "FIX",
      "url": "https://github.com/GopeedLab/gopeed/pull/1596"
    },
    {
      "type": "FIX",
      "url": "https://github.com/GopeedLab/gopeed/releases/tag/v2.0.0-beta.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138331"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-138331"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1078334"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445144"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445144/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GopeedLab Gopeed Web Proxy Endpoint api.go DoProxy server-side request forgery"
}