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
CVE-2026-103035 — PoC and lab for CVE-2026-103035, a missing-authorization flaw in TeamPass update_folder that lets any non-read-only user move another team's folder subtree into their personal space. | Kitploit
Tools/GitHubGitHub/googlesky/cve-2026-103035
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubgooglesky/cve-2026-103035

CVE-2026-103035

PoC and lab for CVE-2026-103035, a missing-authorization flaw in TeamPass update_folder that lets any non-read-only user move another team's folder subtree into their personal space.

View Repository
1 day agoNot yet reviewed

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.

    905
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    881
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    673
  • 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.

    454
  • 5

    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.

    402
  • 6

    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.

    397

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-103035 — TeamPass: missing authorization in update_folder enables cross-team folder theft

License: MIT Research status: validated

CVECVE-2026-103035
ComponentTeamPass — app/sources/folders.queries.php, update_folder action
Affected2f271cdd (3.2.1.1), also present in 3.1.3.1 and 3.1.7.6
Fixed incommit e022b27 (Fix missing authorization in folders update_folder action, GHSA-66q9-mxf2-xqw6)
CWECWE-639 (Authorization Bypass Through User-Controlled Key), CWE-862 (Missing Authorization)
ImpactAny authenticated non-read-only user can rename, re-parent and convert to personal any folder in the instance. A user can move another team's credential subtree into their own personal space, removing it from the organization while retaining access to its contents. The update_folder action dispatches the ID and parent ID from the request without checking either against the caller's accessible folders, unlike sibling actions in the same file
VectorAuthenticated POST folders.queries.php with action=update_folder and attacker-chosen id / parentId
Triggertarget folder ID outside user-accessible_folders, parentId pointing at the attacker's personal folder

The pre-fix action performed the DB update with no authorization checks:

// folders.queries.php — pre-fix
// no check that $inputData['id'] is in user-accessible_folders
// no check that $inputData['parentId'] is accessible
// no check that personal/shared domains match

The fix adds three guards at the exact mutation points:

// fixed (commit e022b27) — verbatim excerpts
if ((int) $session->get('user-admin') !== 1
    && in_array((int) $inputData['id'],
        array_map('intval', (array) $session->get('user-accessible_folders')), true) === false) {
    echo prepareExchangedData(array('error' => true, ...), 'encode');
    break;
}
// ... identical check for $inputData['parentId'] when moving ...
// ... cross-domain check: (int) $dataFolder['personal_folder'] !== (int) $isPersonal ...

1. Root cause

update_folder accepted the folder ID and destination parent ID from the request and updated the folder tree with both, never comparing them to the caller's user-accessible_folders. There was also no check that the source folder and the destination belonged to the same domain (organization-shared vs personal). A regular user could therefore target any folder ID, rename or re-parent it, and mark it personal — transferring the subtree's credentials into their private space and hiding them from the team. The fix adds three authorization checks before the mutation: the target folder must be accessible, the destination parent must be accessible (root excepted), and shared↔personal conversions are rejected for non-admins. A global session gate was also added to the file for unauthenticated requests.

2. Reproduction environment

serviceimagerole
tp-vulncve-2026-103035:vulnfolders.queries.php at e022b27^ — no guards
tp-fixedcve-2026-103035:fixede022b27 — three verbatim guard blocks
poccve-2026-103035-poc:localstdlib-only Python driver

The PHP harness runs the verbatim upstream guard blocks from the fix commit inside a do { ... } while (false) so their native break statements exit the simulated action, with minimal stubs for session, language and the exchange encoder. Modes: attack (other team's folder → personal), admin (maintenance move) and shared_move (ordinary shared-to-shared move).

3. Running the environment

./run-lab.sh build     # builds both sides (php:8.3-alpine + python3 service)
./run-lab.sh up        # cve103035lab network: tp-vuln / tp-fixed
./run-lab.sh sweep
./run-lab.sh down

4. The PoC

poc/poc.py (stdlib only):

  • check — exit 1 when the cross-team folder move succeeds without denial, 0 when it is rejected; 3 no worker, 2 unreachable/indeterminate.
  • exploit — narrated chain: authenticated user → other team's folder ID → personal parent → subtree stolen and hidden org-wide.
  • probe — attack, admin and shared_move modes with moved/denied flags.
  • mitigation — commit e022b27 / three authorization guards.

A standalone full-chain exploit ships at exploit/exploit.py:

python3 exploit/exploit.py --host=tp-vuln
# exit 1 on confirmed cross-team folder conversion, 0 on a safe target

5. Expected results

modetp-vuln (e022b27^)tp-fixed (e022b27)
attack (other team's folder → personal)moved, no denial — subtree stolenerror_not_allowed_to — no move
admin movemovedmoved
shared-to-shared movemovedmoved

Captured runs: evidence/check-*-run.txt, evidence/exploit-*-run.txt, evidence/probe-*-run.txt, evidence/mitigation-*-run.txt, evidence/exploit-standalone-run.txt, evidence/exploit-standalone-fixed-run.txt, evidence/versions.txt, evidence/0day-sweep.txt.

6. Environment preconditions

  • Podman (or Docker); bounded containers on the isolated cve103035lab network; PHP 8.3 CLI in the lab images.
  • Real-world exploitation requires an authenticated, non-read-only TeamPass user and knowledge of another team's folder ID.

7. Additional findings (0-day sweep on the fixed line)

All three authorization checks run before the simulated database update, and they cover the target folder, the destination parent and the domain change. Admin maintenance moves and ordinary shared-to-shared moves still succeed on the fixed build, confirming the guards are not over-broad. No residual re-parenting bypass was found on the fixed line in this sweep.

8. Repository layout

README.md             this write-up
run-lab.sh            environment driver (build / up / sweep / down)
Makefile              convenience targets
poc/poc.py            the PoC (check / exploit / probe / mitigation)
exploit/exploit.py    standalone full-chain exploit
lab/harness-*.php     verbatim upstream guard blocks + minimal PHP stubs
lab/lab.Dockerfile    builds both sides from the pinned upstream source slices
lab/service.py        HTTP wrapper (POST /folder), child-process isolation
evidence/             captured runs of every mode on both sides
TRACKING.md           excluded (working record)

9. References

  • CVE record — https://www.cve.org/CVERecord?id=CVE-2026-103035
  • GitHub advisory — https://github.com/nilsteampassnet/TeamPass/security/advisories/GHSA-66q9-mxf2-xqw6
  • Fix commit — https://github.com/nilsteampassnet/TeamPass/commit/e022b27f99149995c90a81f83b8e0ae8b48f5a20
Download Tool