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
pocketbase-CVE-2026-44166 — Lab + writeup for CVE-2026-44166: PocketBase OAuth2 account pre-hijacking via unvalidated createData.email | Kitploit
Tools/GitHubGitHub/alardiians/pocketbase-cve-2026-44166
Vulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingAuthenticationLearning & EducationLabs & Practice
GitHub
alardiians/pocketbase-cve-2026-44166

pocketbase-CVE-2026-44166

Lab + writeup for CVE-2026-44166: PocketBase OAuth2 account pre-hijacking via unvalidated createData.email

View Repository
1415 months agoNot yet reviewed
Share

CVE-2026-44166: PocketBase OAuth2 Account Pre-Hijacking

A PocketBase auth collection with OAuth2 enabled lets the client pass a createData object when it signs up. The email inside createData is never checked against the email the OAuth2 provider verified. Anyone with an account on a configured provider can register a record that carries someone else's email, linked to their own OAuth2 identity.

With one provider configured, the real owner is locked out. With two or more, the owner logs in later through a different provider and ends up sharing the account with the attacker.

Affected: < 0.22.42 and >= 0.30.0, < 0.37.4. Fixed in 0.22.42 and 0.37.4. Advisory: GHSA-pq7p-mc74-g65w. CWE-287. CVSS 4.0 6.1.

Full writeup: WRITEUP.md

Quickstart

python fetch_binaries.py     # pulls vulnerable 0.37.3 + patched 0.37.4 for your OS
python poc.py                # pre-claim and lockout against the vulnerable build
python verify_fix.py 0.37.4  # same steps on the patched build, attacker gets evicted

Python 3.8+, standard library only. The PoC runs offline against a bundled mock OAuth2 provider, so there is no real IdP or network target.

Expected output

Vulnerable 0.37.3:

[1] Attacker token issued for: [email protected] (verified=False)
[2] Victim login: HTTP 400 -- Failed to authenticate.
[3] Attacker re-auth: [email protected] -- same record: True

Patched 0.37.4:

[1] Attacker pre-claims: [email protected] verified=False id=...
[2] Victim login: SUCCESS verified=True id=...   => victim owns the account
[3] Attacker re-auth: [email protected] id=...  same-as-victim=False

Files

FilePurpose
WRITEUP.mdRoot-cause analysis, both attack variants, remediation, detection
fetch_binaries.pyDownloads the 0.37.3 / 0.37.4 binaries for your OS/arch
mock_oauth2_server.pySmall offline mock OAuth2 provider (token + userinfo)
poc.pyThe exploit against the vulnerable build
verify_fix.pyRuns the same steps on any build and reports the outcome

Authorised use only

For education and authorised security testing: your own lab, CTF and HTB boxes, in-scope bug bounty targets. The lab is offline and never touches anything you don't run yourself.

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.

    806
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    523
  • 3

    ARTEX

    baarai/artex

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

    441
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    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.

    270
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →