Vulnerability DatabaseGHSA-ggjq-x9vq-v787

GHSA-ggjq-x9vq-v787: 
Python vulnerability analysis and mitigation

Summary

Two security issues were identified in web-cheacker-mainditect:

  1. Authentication bypass behind a local reverse proxy (CWE-291): Running web_api.server with --allow-insecure-local bound to 127.0.0.1 bypasses Bearer token checks even when requests arrive from tailnet peers via tailscale serve.
  2. Unsafe temporary directory deletion (CWE-73): Scan execution removes the configured screenshot.temporary_dir path directly rather than isolating per-run temporary directories.

Details

  1. Authentication bypass via --allow-insecure-local (src/web_api/server.py): - main() allows starting without credentials when --allow-insecure-local is set and _is_loopback_host(args.host) is true (127.0.0.1, ::1, localhost). - When exposed through a loopback reverse proxy (tailscale serve --bg ... http://127.0.0.1:8090), external tailnet traffic arrives at the loopback socket, and _auth_middleware assigns local-dev without checking any token whenever not auth.is_configured. - Remediation (f395d48): remove --allow-insecure-local / unauthenticated startup mode so fail-closed authentication is always enforced.
  2. Unsafe temporary directory cleanup (src/web-cheackerV3.py): - main() reads screenshot.temporary_dir from profile config and directly calls _cleanup_temp_dir(temp_dir). - Combined with writable config via the Web API or arbitrary path settings, this directly removes the configured directory rather than scoping cleanup to a newly created per-run temporary directory. - Remediation (1fa9744): allocate an isolated per-run temporary directory and avoid deleting the base configured directory path directly.

Proof of concept

  1. Unauthenticated proxy exposure: - Start PYTHONPATH=src uv run python -m web_api.server --host 127.0.0.1 --port 8090 --allow-insecure-local without setting WCM_AUTH_TOKEN / WCM_AUTH_PASSWORD*. - Expose 127.0.0.1:8090 via tailscale serve. - From another peer on the tailnet, request GET /api/health (auth_configured: false) and protected endpoints without an Authorization header; access succeeds as local-dev.
  2. Temporary directory deletion: - Configure screenshot.temporary_dir in config.yaml and run a scan via src/web-cheackerV3.py; _cleanup_temp_dir(temp_dir) deletes the configured path directly.

Impact

- Unauthorized clients within the tailnet (or reaching the local proxy) can read configuration/logs, alter
monitored URLs, and trigger scans when `--allow-insecure-local` is used.
- Arbitrary or unintended files/directories pointed to by the configured temporary path could be deleted during
scan execution.

Source: NVD

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-m6fh-58r7-x697HIGH8.4
  • Python logoPython
  • fickling
NoYesDec 03, 2026
GHSA-ggjq-x9vq-v787HIGH8.3
  • Python logoPython
  • web-cheacker-mainditect
NoYesDec 03, 2026
GHSA-5gvf-7wqf-r4cvMEDIUM4.7
  • Python logoPython
  • lxml-html-clean
NoYesDec 03, 2026
GHSA-vfhw-gfwp-vxfjMEDIUM4.7
  • Python logoPython
  • lxml-html-clean
NoYesDec 03, 2026
GHSA-j7c5-jjc2-fx3wMEDIUM4
  • Python logoPython
  • hegemony-inventory-netbox
NoYesDec 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management