Exploit databaseDownload repository ZIP
GH-c3ca4ce79082ad7df6c1c516033f4f4a
george0papasotiriou/cve-2026-22015-serverless-function-environment-variable-injection-via-event
Sources for CVE-2026-22015
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files4
george0papasotiriou/cve-2026-22015-serverless-function-environment-variable-injection-via-eventRevision bd814ba5ba28
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lambda_env_inject.py
Python · 320 bytes# lambda_env_inject.py - Vulnerable function that reads env from event
import os, json
def handler(event, context):
# The event contains environment variable overrides (debug feature)
for key, value in event.get('env', {}).items():
os.environ[key] = value
return os.environ.get('SECRET', 'not set')