Skip to content
Heist/ feed
Back to feed
High

theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution

Type: advisorySources: OSV

theshit is a command-line utility that automatically detects and fixes common mistakes in shell commands. Prior to version 0.2.0, improper privilege dropping allows local privilege escalation via command re-execution. This issue has been patched in version 0.2.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-21882
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:47 UTC · Revision 1

Source evidence

theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution

core-osv · Original source

Published 2 Mar 2026, 19:17 UTC

theshit is a command-line utility that automatically detects and fixes common mistakes in shell commands. Prior to version 0.2.0, improper privilege dropping allows local privilege escalation via command re-execution. This issue has been patched in version 0.2.0.

osv:CVE-2026-21882
Complete source record
{
  "id": "8bfc792307fa46951509127043e45ff8010687bb0750090e5a17e2576ada855f",
  "url": "https://osv.dev/vulnerability/CVE-2026-21882",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "theshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-execution",
    "summary": "theshit is a command-line utility that automatically detects and fixes common mistakes in shell commands. Prior to version 0.2.0, improper privilege dropping allows local privilege escalation via command re-execution. This issue has been patched in version 0.2.0.",
    "evidence": "osv:CVE-2026-21882",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-21882",
      "aliases": [
        "CVE-2026-21882",
        "GHSA-2j3p-gqw5-g59j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/asfhtgkdavid/theshit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fe96d690302cf818b1798e45de9fc5ecdf57d40c"
                },
                {
                  "fixed": "5293957b119e55212dce2c6dcbaf1d7eb794602a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5293957b119e55212dce2c6dcbaf1d7eb794602a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21882.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.226208359Z",
      "provider": "osv",
      "references": [
        "https://github.com/AsfhtgkDavid/theshit/security/advisories/GHSA-2j3p-gqw5-g59j",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21882.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-21882",
        "https://github.com/AsfhtgkDavid/theshit/commit/5293957b119e55212dce2c6dcbaf1d7eb794602a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-250",
          "CWE-269",
          "CWE-273"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21882.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-21882",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504247,
  "published_at": "2026-03-02T19:17:22.22+00:00"
}