{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-52467 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-52467 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-52467 is a critical vulnerability in timescale pgai, published on 19 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-52467 and fix it if it is affected.\n\nWhat it is: CVE-2025-52467 is a critical vulnerability in timescale pgai, published on 19 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-52467 in the wild and no public exploit code.\n\nAffected product: timescale pgai. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-52467/ (Markdown: https://insights.sbomify.com/CVE-2025-52467/index.md)","id":"CVE-2025-52467","markdown":"https://insights.sbomify.com/CVE-2025-52467/index.md","name":"CVE-2025-52467","record":{"aliases":["GHSA-89qq-hgvp-x37m"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Python PostgreSQL library","requires_auth":"none","summary":"Attackers can exfiltrate GitHub secrets and gain write access to the repository via a pull_request_target workflow vulnerability in the pgai library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"pgai is a Python library that transforms PostgreSQL into a retrieval engine for RAG and Agentic applications. Prior to commit 8eb3567, the pgai repository was vulnerable to an attack allowing the exfiltration of all secrets used in one workflow. In particular, the GITHUB_TOKEN with write permissions for the repository, allowing an attacker to tamper with all aspects of the repository, including pushing arbitrary code and releases. This issue has been patched in commit 8eb3567.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-09-04","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-04T03:46:04Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-e8902eccd3","stars":0,"title":"Security research lab: reproduction of CVE-2025-52467 (pgai pull_request_target workflow code execution / GITHUB_TOKEN exfiltration) — snapshot of timescale/pgai"}],"tier":"poc_unverified"},"has_fix":false,"headline":"pgai secrets exfiltration via `pull_request_target`","id":"CVE-2025-52467","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Chamilo: Stored XSS Vulnerability via CSV User Import","id":"CVE-2025-52468"},"packages":[],"prev":{"headline":"GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page","id":"CVE-2025-52465"},"products":["pgai"],"published":"2025-06-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-23","vendors":["timescale"]},"summary":"Attackers can exfiltrate GitHub secrets and gain write access to the repository via a pull_request_target workflow vulnerability in the pgai library.","url":"https://insights.sbomify.com/CVE-2025-52467/"}