Tainted flow: 'url' from os.environ.get (line 113, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
f"Submitting remove-background (Tekan {TEKAN_COMMON_TASK_URL})...", file=sys.stderr, ) resp = requests.post( url, headers=_tekan_uid_headers(client), json=body,- Confidence
- 94% confidence
- Finding
- The request destination is derived from the environment variable `TEKAN_COMMON_TASK_URL` without validation, then used in `requests.post` while sending authenticated headers (`uid`, `teamId`) and task data. If an attacker can influence the process environment, they can redirect requests to an arbitrary host, causing SSRF-style outbound access and exfiltration of request metadata or uploaded-workflow data.
