{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "30e8b777098157362769226d1b46d83ad616cb06"
            },
            {
              "fixed": "3e8a0ab817ea50475f319797b1256ae9eba0e704"
            }
          ],
          "repo": "https://github.com/gitroomhq/postiz-app",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-34w8-5j2v-h6ww"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40168.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "2.21.5"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Postiz is an AI social media scheduling tool. Prior to 2.21.5, the /api/public/stream endpoint is vulnerable to SSRF. Although the application validates the initially supplied URL and blocks direct private/internal hosts, it does not re-validate the final destination after HTTP redirects. As a result, an attacker can supply a public HTTPS URL that passes validation and then redirects the server-side request to an internal resource.",
  "id": "CVE-2026-40168",
  "modified": "2026-08-05T03:30:21.337242525Z",
  "published": "2026-04-10T19:20:16.365Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40168.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40168"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream"
}