Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1989+ Articles
151+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-44359: Meshtastic CI/CD Workflow Exposes Repository Secrets (CVSS 10.0)
CVE-2026-44359: Meshtastic CI/CD Workflow Exposes Repository Secrets (CVSS 10.0)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-44359

CVE-2026-44359: Meshtastic CI/CD Workflow Exposes Repository Secrets (CVSS 10.0)

A critical GitHub Actions misconfiguration in the Meshtastic open-source mesh networking project allows attacker-controlled fork code to execute with access to repository secrets and elevated write permissions.

Dylan H.

Security Team

July 20, 2026
3 min read

Affected Products

  • Meshtastic firmware < 2.7.21.1370b23

Executive Summary

A CVSS 10.0 critical vulnerability (CVE-2026-44359) has been disclosed in the Meshtastic open-source mesh networking project. The flaw stems from a misconfigured pull_request_target GitHub Actions workflow that executes attacker-controlled code from forked pull requests in a privileged context, exposing repository secrets and write access to the main repository.

The issue is patched in Meshtastic firmware version 2.7.21.1370b23.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-44359
CVSS Score10.0 (Critical)
TypeCI/CD Workflow Privilege Escalation / Secret Exposure
Attack VectorNetwork (via Pull Request)
Privileges RequiredNone (fork creation is public)
User InteractionNone (workflow triggers automatically)
ScopeRepository secrets, write tokens

Technical Details

The Meshtastic project's main_matrix.yml GitHub Actions workflow was configured with the pull_request_target trigger. Unlike the standard pull_request trigger — which executes in a sandboxed context without access to secrets — pull_request_target runs in the context of the target repository with full access to secrets and elevated permissions.

Multiple jobs within this workflow checked out and executed code from the attacker's fork, combining the dangerous trigger with untrusted code execution in a privileged environment.

Attack Flow

1. Attacker forks the Meshtastic GitHub repository
2. Attacker adds malicious code to the workflow or scripts in the fork
3. Attacker opens a pull request targeting the main repository
4. The pull_request_target trigger fires — running in main repo context
5. Attacker's fork code is checked out and executed with privileged access
6. Repository secrets (API keys, signing keys, tokens) are exfiltrated
7. Attacker can write to main branch or publish malicious releases

Why pull_request_target Is Dangerous

TriggerRuns InAccess To SecretsExecutes Fork Code
pull_requestFork context (sandboxed)NoYes
pull_request_targetBase repo contextYesOnly if explicitly checked out
pull_request_target + checkout forkBase repo contextYesYes — DANGEROUS

Affected Versions

ProjectAffected VersionsFixed Version
Meshtastic firmware< 2.7.21.1370b232.7.21.1370b23

Impact

A successful exploit could allow an attacker to:

  • Exfiltrate repository secrets — API keys, code signing certificates, deployment tokens
  • Push malicious code to protected branches if write tokens are exposed
  • Compromise the software supply chain — inject backdoors into Meshtastic firmware releases
  • Pivot to downstream infrastructure using leaked credentials
  • Tamper with release artifacts distributed to thousands of Meshtastic devices

Remediation

Update Immediately

Update Meshtastic to version 2.7.21.1370b23 or later to receive the patched workflow configuration.

Audit Your Own GitHub Actions Workflows

If you maintain GitHub Actions workflows, audit them for this pattern:

# DANGEROUS — pull_request_target + checkout of untrusted code
on:
  pull_request_target:
jobs:
  build:
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.event.pull_request.head.sha }}  # ATTACKER CODE

Safer Alternatives

# OPTION 1: Use pull_request (sandboxed, no secrets)
on:
  pull_request:
 
# OPTION 2: Split workflow — validate first, grant privileges only after approval
# Trigger privileged jobs only from trusted refs (main branch, not fork PR head)
on:
  pull_request_target:
jobs:
  build:
    steps:
      - uses: actions/checkout@v3
        # Checkout BASE repo code, NOT the fork's HEAD
        # with: ref: ${{ github.base_ref }}

Secret Rotation

If your repository used the affected workflow versions, treat all secrets as compromised:

# Rotate any secrets that could have been exposed:
# - GITHUB_TOKEN (auto-rotates per workflow run)
# - Custom secrets (manually rotate in Settings > Secrets)
# - Any API keys, signing certificates, or deployment tokens

Detection

IndicatorDescription
Unexpected forks opening PRs with workflow modificationsPossible reconnaissance or exploitation attempt
Secrets appearing in unexpected external requestsEvidence of exfiltration via exfil-in-log pattern
New commits to protected branches from CI/CD tokensPossible write-access abuse
Unusual release artifacts or build outputsPossible supply chain tampering

Review Workflow Logs

# Check GitHub Actions audit log for suspicious workflow runs
# Settings > Security > Audit log > Filter: "workflow_run"
 
# Specifically look for pull_request_target workflow executions
# triggered by external fork PRs

Context: GitHub Actions CI/CD Security

The pull_request_target + untrusted checkout pattern is a well-documented pitfall in GitHub Actions security. The GitHub Security Lab has published guidance on this class of vulnerability, which has affected dozens of high-profile open-source projects. The Meshtastic case demonstrates how even security-conscious open-source projects can introduce this risk through workflow growth and copy-paste.


References

  • NVD — CVE-2026-44359
  • GitHub Security Lab — Keeping your GitHub Actions and workflows secure
  • Meshtastic Project

Related Reading

  • CVE-2026-13147: Kirki WordPress Plugin SSRF Flaw
  • GitHub Actions Supply Chain: Trivy Tags Hijacked in CI/CD Attack
  • GlassWorm Attack Uses Stolen GitHub Tokens to Force-Push Python Repos
#Meshtastic#GitHub Actions#CI/CD#Supply Chain#CVE-2026-44359#Privilege Escalation

Related Articles

CVE-2026-44246: nnU-Net Agentic Workflow Injection via GitHub Actions Issue Triage

A high-severity agentic workflow injection vulnerability in nnU-Net's GitHub Actions issue triage workflow allows attackers to inject and execute...

6 min read

CVE-2026-47868: VMware Avi Load Balancer Local Privilege Escalation

A local privilege escalation vulnerability in VMware Avi Load Balancer allows malicious local users to execute code as root. Versions 22.x through 32.1.1...

2 min read

CVE-2026-47870: VMware Avi Load Balancer Authenticated Remote Code Execution

An authenticated privilege escalation flaw in VMware Avi Load Balancer enables network-connected users to execute remote code. CVSS 7.1 High — all...

2 min read
Back to all Security Alerts