CVE-2025-52467 (GCVE-0-2025-52467)

Vulnerability from cvelistv5 – Published: 2025-06-19 02:50 – Updated: 2025-06-23 16:58
VLAI?
Title
pgai secrets exfiltration via `pull_request_target`
Summary
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.
CWE
  • CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
Assigner
Impacted products
Vendor Product Version
timescale pgai Affected: < 8eb356729c33560ce54b88b9a956960ad1e3ede8
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-52467",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-06-23T16:58:31.157188Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-06-23T16:58:52.667Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "pgai",
          "vendor": "timescale",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 8eb356729c33560ce54b88b9a956960ad1e3ede8"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 9.1,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-200",
              "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-19T02:50:51.240Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m"
        },
        {
          "name": "https://github.com/timescale/pgai/pull/742",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/timescale/pgai/pull/742"
        },
        {
          "name": "https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8"
        }
      ],
      "source": {
        "advisory": "GHSA-89qq-hgvp-x37m",
        "discovery": "UNKNOWN"
      },
      "title": "pgai secrets exfiltration via `pull_request_target`"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-52467",
    "datePublished": "2025-06-19T02:50:51.240Z",
    "dateReserved": "2025-06-17T02:28:39.716Z",
    "dateUpdated": "2025-06-23T16:58:52.667Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-52467\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2025-06-19T03:15:25.870\",\"lastModified\":\"2025-06-23T20:16:59.783\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"pgai es una librer\u00eda de Python que transforma PostgreSQL en un motor de recuperaci\u00f3n para aplicaciones RAG y Agentic. Antes de el commit 8eb3567, el repositorio pgai era vulnerable a un ataque que permit\u00eda la exfiltraci\u00f3n de todos los secretos utilizados en un flujo de trabajo. En particular, el GITHUB_TOKEN con permisos de escritura para el repositorio, lo que permit\u00eda a un atacante manipular todos los aspectos del repositorio, incluyendo la publicaci\u00f3n de c\u00f3digo y versiones arbitrarias. Este problema se ha corregido en el commit 8eb3567.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-200\"}]}],\"references\":[{\"url\":\"https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/timescale/pgai/pull/742\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m\",\"source\":\"security-advisories@github.com\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-52467\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-06-23T16:58:31.157188Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-06-23T16:58:47.983Z\"}}], \"cna\": {\"title\": \"pgai secrets exfiltration via `pull_request_target`\", \"source\": {\"advisory\": \"GHSA-89qq-hgvp-x37m\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"timescale\", \"product\": \"pgai\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 8eb356729c33560ce54b88b9a956960ad1e3ede8\"}]}], \"references\": [{\"url\": \"https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m\", \"name\": \"https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/timescale/pgai/pull/742\", \"name\": \"https://github.com/timescale/pgai/pull/742\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8\", \"name\": \"https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-200\", \"description\": \"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2025-06-19T02:50:51.240Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-52467\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-06-23T16:58:52.667Z\", \"dateReserved\": \"2025-06-17T02:28:39.716Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2025-06-19T02:50:51.240Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…