PoC Monitor
← All CVEs
CVE-2025-54415published 26 Jul 2025 03:33 UTCData: JSON · API

Astronomer dag-factory

dag-factory's CI/CD Workflow Allows for Repository Takeover and Secret Exfiltration

dag-factory is a library for Apache Airflow® to construct DAGs declaratively via configuration files. In versions 0.23.0a8 and below, a high-severity vulnerability has been identified in the cicd.yml workflow within the astronomer/dag-factory GitHub repository. The workflow, specifically when triggered by pull_request_target, is susceptible to exploitation, allowing an attacker to execute arbitrary code within the GitHub Actions runner environment. This misconfiguration enables an attacker to establish a reverse shell, exfiltrate sensitive secrets, including the highly-privileged GITHUB_TOKEN, and ultimately gain full control over the repository. This is fixed in version 0.23.0a9.

First public PoC 1.1 yearsafter publication · 4 Sep 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

astronomer dag-factory
  • < 0.23.0a9

Fixed in 0.23.0a9

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360CVE published26 Jul 2025 · t = 0First public PoC4 Sep 2026 · t+1.1y

First public PoC 1.1 years after publication; not in CISA KEV. First PoC: pvharmo2/gha-lab-f894926966 (created 4 Sep 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
pvharmo2/gha-lab-f894926966 4 Sep 2026 +1.1 y 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /api/packages/{var}/recent

Seen in
1 repo: pvharmo2/gha-lab-f894926966
Evidence
pvharmo2/gha-lab-f894926966/dev/dags/pypi_stats.py:39

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/packages/{var}/recent
(?i)^/api/packages/[^/?#]*/recent(?:[?#].*)?$
GET /v0/item/{}.json
(?i)^/v0/item/\{\}\.json(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/packages/{var}/recent
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-54415 astronomer dag-factory exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/packages/"; http.uri; content:"/recent"; reference:url,poc.griffinguard.io/cve/CVE-2025-54415; classtype:web-application-attack; sid:9014288; rev:1;)
GET /v0/item/{}.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-54415 astronomer dag-factory exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/v0/item/{}.json"; reference:url,poc.griffinguard.io/cve/CVE-2025-54415; classtype:web-application-attack; sid:9271427; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/packages/{var}/recent
title: astronomer dag-factory exploit attempt (CVE-2025-54415)
id: gg-pocmon-cve-2025-54415-9014288
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54415. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54415
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/packages/'
      - '/recent'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54415
GET /v0/item/{}.json
title: astronomer dag-factory exploit attempt (CVE-2025-54415)
id: gg-pocmon-cve-2025-54415-9271427
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54415. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54415
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/v0/item/{}.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54415