Exploit database

GH-6bd8db4cb1c6f5f0de06552343b4483f

googlesky/cve-2026-129351

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-129351

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files5
googlesky/cve-2026-129351Revision 01c9d98171c4

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/logtail.py

Python · 1,384 bytes
#!/usr/bin/env python3
"""Tiny log-tail endpoint for the PoC: GET /_log returns the tail of the
qemu strace of the guest mini_httpd; GET /_log?from=N returns only lines
after index N with an X-Log-Lines header carrying the new total, so the
PoC can attribute guest signals to its own requests."""
import sys
from http.server import BaseHTTPRequestHandler, HTTPServer
from urllib.parse import urlparse, parse_qs

LOG = "/var/log/httpd.strace"
PORT = int(sys.argv[1]) if len(sys.argv) > 1 else 8081


class H(BaseHTTPRequestHandler):
    def do_GET(self):
        q = parse_qs(urlparse(self.path).query)
        frm = int(q["from"][0]) if "from" in q else None
        try:
            with open(LOG, "r", errors="replace") as f:
                lines = f.read().splitlines()
        except OSError:
            lines = []
        total = len(lines)
        if frm is not None:
            out = lines[max(frm, total - 5000):] if frm < total else []
        else:
            out = lines[-200:]
        data = "\n".join(out).encode()
        self.send_response(200)
        self.send_header("Content-Type", "text/plain")
        self.send_header("X-Log-Lines", str(total))
        self.send_header("Content-Length", str(len(data)))
        self.end_headers()
        self.wfile.write(data)

    def log_message(self, *a):
        pass


HTTPServer(("0.0.0.0", PORT), H).serve_forever()