Skip to content
Heist/ feed
Back to feed
Critical

Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation

Type: advisorySources: OSV

pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be made using GET requests. Since the session cookie is not set to `SameSite: strict`, this opens the library up to severe attack possibilities via a Cross-Site Request Forgery (CSRF) attack. As a result any API call can be made via a CSRF attack by an unauthenticated user. This issue has been addressed in release `0.5.0b3.dev78`. All users are advised to upgrade.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-22416
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:20 UTC · Revision 1

Source evidence

Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation

core-osv · Original source

Published 17 Jan 2024, 23:48 UTC

pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be made using GET requests. Since the session cookie is not set to `SameSite: strict`, this opens the library up to severe attack possibilities via a Cross-Site Request Forgery (CSRF) attack. As a result any API call can be made via a CSRF attack by an unauthenticated user. This issue has been addressed in release `0.5.0b3.dev78`. All users are advised to upgrade.

osv:CVE-2024-22416
Complete source record
{
  "id": "f780d12ff3c031154aa3e2613762ab3c7c1d0d5fd41a7d095ac316d30cbe869c",
  "url": "https://osv.dev/vulnerability/CVE-2024-22416",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation",
    "summary": "pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be made using GET requests. Since the session cookie is not set to `SameSite: strict`, this opens the library up to severe attack possibilities via a Cross-Site Request Forgery (CSRF) attack. As a result any API call can be made via a CSRF attack by an unauthenticated user. This issue has been addressed in release `0.5.0b3.dev78`. All users are advised to upgrade.",
    "evidence": "osv:CVE-2024-22416",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-22416",
      "aliases": [
        "CVE-2024-22416",
        "GHSA-pgpj-v85q-h5fm",
        "PYSEC-2024-17"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pyload/pyload",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1374c824271cb7e927740664d06d2e577624ca3e"
                },
                {
                  "fixed": "c7cdc18ad9134a75222974b39e8b427c4af845fc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "1374c824271cb7e927740664d06d2e577624ca3e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c7cdc18ad9134a75222974b39e8b427c4af845fc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.4.9",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4",
            "v0.3.2",
            "v0.3.1",
            "v0.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2",
            "v0.1.1",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-22416.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.326526401Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22416.json",
        "https://github.com/pyload/pyload/security/advisories/GHSA-pgpj-v85q-h5fm",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-22416",
        "https://github.com/pyload/pyload/commit/1374c824271cb7e927740664d06d2e577624ca3e",
        "https://github.com/pyload/pyload/commit/c7cdc18ad9134a75222974b39e8b427c4af845fc"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-352"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.5.0b3.dev78"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22416.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-22416",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508956,
  "published_at": "2024-01-17T23:48:31.422+00:00"
}