{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "a1137a37854cce5d04051246f1b82e50999461ff"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.3.0",
                "range": [
                  {
                    "fixed": "d716c81eb2ed637f38ba447afd365f3552decb4c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d716c81eb2ed637f38ba447afd365f3552decb4c"
            },
            {
              "fixed": "a1137a37854cce5d04051246f1b82e50999461ff"
            }
          ],
          "repo": "https://github.com/erugooss/erugo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fmhm-j889-pcxf"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-291"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145172.json"
  },
  "details": "Erugo before 0.3.0 contains an authentication bypass vulnerability in TusdHooksController::handleHook that allows unauthenticated attackers to call POST /api/tusd-hooks by relying solely on private source IP prefixes. Attackers whose requests are forwarded through a reverse proxy or Docker port mapping can forge post-finish events with chosen metadata or post-terminate events deleting File and UploadSession records.",
  "id": "CVE-2026-145172",
  "modified": "2026-12-04T18:46:03.097642263Z",
  "published": "2026-12-04T17:02:09.104Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145172.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ErugoOSS/Erugo"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ErugoOSS/Erugo/blob/v0.2.16/app/Http/Controllers/TusdHooksController.php#L22-L47"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ErugoOSS/Erugo/commit/a1137a37854cce5d04051246f1b82e50999461ff"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ErugoOSS/Erugo/releases/tag/v0.3.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-fmhm-j889-pcxf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145172"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/erugo-before-0.3.0-authentication-bypass-via-spoofable-tusd-hook-ip-check"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Erugo before 0.3.0 Authentication Bypass via Spoofable tusd Hook IP Check"
}