UnratedPublic exploitVulnerability
CVE-2026-7275
Updated 7 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-7275
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposurePublic exploits
View more in app →Exploits
2 exploits validated by Mallory's analysis.
CVE-2026-7275This is a standalone exploit, lab, and reconnaissance repository, not a framework module. Its 26 listed files comprise 15 Python files, six PHP/template files, one Bash script, three Markdown documents, and .gitignore. The main entry point is poc.py, documented as supporting interactive and CLI operation, single-target and threaded multi-target scanning/exploitation, repository and draft-ID discovery, proxy support, JSON output, and outcome tracking.
The vulnerability described is an authenticated metadata-to-filesystem trust failure: repository_googledocs obtains a Drive file's name and passes it through download_file() into repository::prepare_file(), which joins it to a request temporary directory without filename sanitization. The visible HTTP-chain scripts log in, list Drive nodes, create a controlled-link draft reference, and submit the private-files dynamic form. Saving that reference triggers the server-side download and traversal-based write. PHP execution depends on a writable, executable destination, not merely on reaching the download operation. The repository identifies fixes as Moodle 4.5.11, 5.0.7, and 5.1.4; its corrected affected ranges exclude earlier releases lacking the vulnerable download_file() feature.
lab/ contains a persistent fake Drive API, a mitmproxy rerouting addon, HTTP-chain variants, an oracle test, CLI provisioning and password-reset scripts, filesystem/sink tests, and a launcher for two Moodle 5.0.6 instances plus a 5.0.7 control. These supporting services are local test infrastructure, not evidence of an external attacker backend. Moodle source trees, database files, logs, generated evidence, and target pools are excluded by .gitignore and are not included in the supplied inventory.
work/ contains FOFA candidate collection, unauthenticated build fingerprinting, anonymous repository-gate probing, disposable-account registration and email confirmation, authenticated repository inspection, and a script that patches the fingerprint matrix. Several utilities have hardcoded author-workstation paths, and account/mailbox credentials are stored in plaintext output files. The passive probes are detection tools, but the repository as a whole includes an exploitation chain.
Important limitations: the supplied poc.py, report, and several helper files are truncated, so exact PHP payload bytes and significant implementation details cannot be audited. The CVE, upstream verification, lab execution, and field statistics are repository claims rather than independently verified findings. Documentation reports no successful live exploitation and disagrees internally on some field counts. Static plugin presence does not prove a configured repository or connected system account. Fingerprint logic also remains imperfect: remote_fingerprint.py can label the shared 4.5.5–4.5.12 hash range vulnerable solely because upload.min.js exists, which does not exclude patched 4.5.11–4.5.12; it may also call an ambiguous build safe after a failed JavaScript request if the PNG control succeeds. Repository URL, git reference, archive path, and archive size were not supplied; empty strings and zero represent unavailable repository metadata.im0xfay · Disclosed Nov 27, 2026 · python · php · webOperationalCVE-2026-7275-moodleThis repository is a small proof-of-concept and documentation package for CVE-2026-7275, a path traversal/arbitrary file write issue in Moodle's Google Drive repository integration (repository_googledocs). The repo contains mostly markdown documentation (README.md, EXPLOIT.md, PATCH.md, CONTRIBUTORS.md) plus one executable Python demo script at poc/demo_path_traversal.py. There is no full remote exploit automation against a live Moodle target; instead, the repository explains the attack chain and provides a local simulation of vulnerable versus patched path handling.
The core exploit capability is arbitrary file write via attacker-controlled Google Drive filename metadata. In vulnerable Moodle versions, repository downloads pass the original filename into prepare_file() without sanitization, allowing traversal strings such as ../../../../public/shell.php or Windows-style backslash variants to escape the temporary request directory. If the attacker can cause the file to be written into a PHP-executable webroot, the arbitrary write can become RCE by dropping a PHP file and then requesting it over HTTP.
The documented attack flow is: attacker prepares or renames a Google Drive file with a traversal filename, authenticates to Moodle with a linked Google account, opens the file picker or otherwise triggers repository download through /repository/repository_ajax.php, and relies on Moodle fetching the file from Google Drive via /drive/v3/files/{id}?alt=media. Moodle then joins the unsanitized filename to its temp directory path, which may resolve outside the intended jail. The repo explicitly notes that the filename comes from Google API metadata rather than direct HTTP parameter tampering.
The Python script poc/demo_path_traversal.py is the main code artifact. It simulates pre-patch behavior (no sanitization) and post-patch behavior approximating clean_param(..., PARAM_FILE). It constructs candidate paths, resolves them with os.path.realpath, and reports whether each payload escapes the temporary directory. This confirms the vulnerability conceptually but does not contact any network service.
The patch analysis explains that Moodle fixed the issue centrally in public/repository/lib.php by wrapping the filename with clean_param($filename, PARAM_FILE) inside prepare_file(). The documentation also identifies affected call sites in public/repository/googledocs/lib.php and notes that the central fix protects other repository plugins using the same helper. Overall, this is a legitimate exploit-analysis repository with a local PoC demonstration and detailed exploitation guidance, but not a weaponized end-to-end exploit tool.ExDev994 · Disclosed Jul 11, 2026 · python · markdown · web · cloudPoC
External references
References
FAQ
Frequently asked questions
- Is CVE-2026-7275 exploited in the wild?
- As of Apr 29, 2026, Mallory has no reports of CVE-2026-7275 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-7275?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-7275, the earliest disclosed Jul 11, 2026.
Activity feed
View more in app →Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposureMallory platform
The version that knows your environment.
This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.