Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
DotNet-Tarball-CVE-2026-114148 — CVE-2026-114148 - .NET Linux Tarball Local Privilege Escalation PoC & Exploit | Kitploit
Tools/GitHubGitHub/ghost-bx1/dotnet-tarball-cve-2026-114148
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationPenetration TestingRed Teaming
GitHubghost-bx1/dotnet-tarball-cve-2026-114148

DotNet-Tarball-CVE-2026-114148

Share

CVE-2026-114148 - .NET Linux Tarball Local Privilege Escalation PoC & Exploit

View Repository
115 days agoNot yet reviewed

CVE-2026-114148 - .NET Linux Tarball Local Privilege Escalation

uid=0 metadata in .NET tarballs for Linux allows local privilege escalation via extraction of files owned by root.

  CVE-2026-114148  v3.0.0  |  .NET Linux Tarball LPE
  By Gh0st-Bx1             |  github.com/Ghost-Bx1

Python Platform Category CVSS By Gh0st-Bx1


Overview

The .NET tarballs for Linux (source-build and ASP.NET Core) include ownership metadata uid=0/gid=0 on critical executable files. When an administrator extracts these tarballs to install .NET on the system (e.g., /usr/local/dotnet), the kernel preserves this metadata and creates the files owned by root - even if the tarball was provided by an untrusted source.

A local attacker who can replace or modify the tarball before extraction can inject a SUID executable or overwrite a system binary, resulting in local privilege escalation to root.

Technical Details

FieldValue
CVECVE-2026-114148
CVSS7.8 (High)
CWECWE-276 (Incorrect Default Permissions)
VendorMicrosoft
DateOctober 2026

Affected Versions

VersaoTarball afetadoFix
.NET 8.xsource-build + ASP.NET Core8.0.33
.NET 9.xsource-build + ASP.NET Core9.0.22
.NET 10.xsource-build only10.0.14
.NET 11.xsource-build only11.0.0-preview

Mechanism

Atacante controla tarball .NET
         |
         v
Tarball contem: uid=0, gid=0, mode=4755 no executavel 'dotnet'
         |
         v
Admin executa: sudo tar -xzf dotnet.tar.gz -C /usr/local/dotnet
         |
         v
Kernel preserva metadados: /usr/local/dotnet/dotnet owned by root, SUID
         |
         v
Atacante executa: /usr/local/dotnet/dotnet -> shell root

Attack Vectors

  1. Package cache: Cache directory with weak permissions (writable by the attacker)
  2. CI/CD pipeline: Installation script downloads tarball without verifying checksum
  3. MITM: Download via HTTP or HTTPS without certificate validation
  4. Internal repository: Replacement of artifact in a compromised Nexus/Artifactory

Usage

PoC - Inspect tarball

python poc.py --inspect /path/to/dotnet-8.0.33.tar.gz

PoC - Generate demonstration payload

python poc.py --demo --output /tmp/poc-payload.tar.gz
# Extrair como root para verificar:
sudo tar -xzf /tmp/poc-payload.tar.gz -C /tmp/teste
ls -la /tmp/teste/

Exploit - Replace local cache

python exploit.py --replace-cache ~/.dotnet/cache/
# Aguardar extracao privilegiada, depois:
python exploit.py --check-suid /usr/local/dotnet

Exploit - Generate payload for CI/CD

python exploit.py --inject-pipeline --output /tmp/malicious-dotnet.tar.gz

Mitigation

  • Update to .NET 8.0.33, 9.0.22 or 10.0.14
  • Always verify tarball checksums before extracting
  • Use --no-same-owner when extracting as root: sudo tar --no-same-owner -xzf dotnet.tar.gz
  • Restrict write permissions in package cache directories

References

  • Microsoft Security Advisory - Out 2026
  • .NET Release Notes 8.0.33
  • CWE-732: Incorrect Permission Assignment

Legal Notice

This repository is for educational and security research purposes. Use only in authorized environments.

Ghost Toolkit

ToolDescription
ghost-adActive Directory - LDAP, Kerberoasting, AS-REP Roasting, BloodHound-lite
ghost-cloudCloud Security - AWS, Azure and GCP misconfiguration scanner
ghost-fuzzWeb Fuzzing - directory brute-force, parameter fuzzing, vhost enumeration
ghost-osintOSINT - domain, email and IP intelligence from public sources
ghost-privescPrivilege Escalation - Linux privesc checker, 17 vectors, GTFOBins
ghost-reconReconnaissance - DNS, SSL, WAF, subdomain enumeration, email security
ghost-reportReporting - pentest report generator from any ghost-* JSON output
ghost-scanPort Scanner - async TCP/UDP scanner with banner grabbing and CVE correlation
ghost-shellPayload Generation - reverse shell and web shell generator, 25+ languages
ghost-sprayCredential Attacks - password spraying, stuffing, default credential testing
ghost-wifiWiFi Attacks - monitor mode, deauth, WPA/WPA2 capture, PMKID, WPS, Evil Twin

By Gh0st-Bx1

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    647
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    421
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    389
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    333
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    331

Explore all tools

Browse our collection of tools

View all tools →