Home / AsfhtgkDavid / theshit / CVE-2025-69257
CVE-2025-69257: is it exploited, and which versions of AsfhtgkDavid theshit are affected and fixed?
CVE-2025-69257 is a privilege escalation (improper privilege management) vulnerability in AsfhtgkDavid theshit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: theshit before 0.1.1 (GitHub advisory GHSA-95qg-89c2-w5hj). Fixed in 0.1.1 (GitHub advisory GHSA-95qg-89c2-w5hj). Severity: Medium (6.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2025-69257?
theshit vulnerable to unsafe loading of user-owned Python rules when running as root.
theshit is a command-line utility that automatically detects and fixes common mistakes in shell commands. Prior to version 0.1.1, the application loads custom Python rules and configuration files from user-writable locations (e.g., `~/.config/theshit/`) without validating ownership or permissions when executed with elevated privileges. If the tool is invoked with `sudo` or otherwise runs with an effective UID of root, it continues to trust configuration files originating from the unprivileged user's environment. This allows a local attacker to inject arbitrary Python code via a malicious rule or configuration file, which is then executed with root privileges. Any system where this tool is executed with elevated privileges is affected. In environments where the tool is permitted to run via `sudo` without a password (`NOPASSWD`), a local unprivileged user can escalate privileges to root without additional interaction. The issue has been fixed in version 0.1.1. The patch introduces strict ownership and permission checks for all configuration files and custom rules. The application now enforces that rules are only loaded if they are owned by the effective user executing the tool. When executed with elevated privileges (`EUID=0`), the application refuses to load any files that are not owned by root or that are writable by non-root users. When executed as a non-root user, it similarly refuses to load rules owned by other users. This prevents both vertical and horizontal privilege escalation via execution of untrusted code. If upgrading is not possible, users should avoid executing the application with `sudo` or as the root user. As a temporary mitigation, ensure that directories containing custom rules and configuration files are owned by root and are not writable by non-root users. Administrators may also audit existing custom rules before running the tool with elevated privileges.
From the CVE record by GitHub_M, last updated December 30, 2025, 19:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| AsfhtgkDavid | theshit | < 0.1.1 |
As the CVE record by GitHub_M states it, last updated December 30, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | theshit | < 0.1.1 | 0.1.1 | GHSA-95qg-89c2-w5hj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 5, 2026. Summary: theshit vulnerable to unsafe loading of user-owned Python rules when running as root.
How severe is CVE-2025-69257?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-69257 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 30, 2025)
- EPSS
- 0.14% probability of exploitation activity in the next 30 days, percentile 3.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
- CWE-284 Improper Access Control
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
Where are the vendor advisories and references?
- https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-95qg-89c2-w5hj x_refsource_CONFIRM
- https://github.com/AsfhtgkDavid/theshit/commit/8e0b565e7876a83b0e1cfbacb8af39dadfdcc500 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 30, 2025
- Published
- December 30, 2025, 19:15 UTC
- CVE record updated
- December 30, 2025, 19:28 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:00 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect theshit?
- Mar 2, 2026CVE-2026-21882 AsfhtgkDavid theshit: privilege escalation
Questions about CVE-2025-69257
Is CVE-2025-69257 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.14% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of AsfhtgkDavid theshit are affected by CVE-2025-69257?
theshit before 0.1.1, per the GitHub advisory GHSA-95qg-89c2-w5hj. The tables above give every range the sources list.
Which version fixes CVE-2025-69257?
0.1.1, per the GitHub advisory GHSA-95qg-89c2-w5hj. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-69257?
Medium (6.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-69257?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.