[GH-ISSUE #4284] [Issue]: Require authentication for proxy-forwarded Docker traffic by default #2317

Closed
opened 2026-10-21 05:47:14 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4284

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Docker deployments can currently treat requests with proxy-forwarding headers as trusted local traffic unless the operator opts into stricter authentication. A reverse-proxy misconfiguration can therefore weaken the remote-access boundary.

Expected behavior

Forwarded Docker traffic should require the configured password/IP/privileged-route gates by default. Direct container-local traffic may retain the documented Docker convenience path, and operators should have an explicit compatibility opt-out.

Actual behavior

The compatibility default permits proxy-forwarded requests to inherit the Docker authentication bypass.

Steps to reproduce

  1. Run the current staging build in Docker with password protection enabled.
  2. Send a request carrying a standard forwarding header through the Docker listener.
  3. Observe that the request can be classified as Docker-local without the stricter proxy authentication policy enabled.

Environment

  • Marinara Engine version: current staging
  • Install type: Docker / reverse proxy
  • OS + version: any supported Docker host
  • Browser or app shell: any HTTP client

Logs, screenshots, or video

Not applicable; this is a server-side access-control default.

Additional context

This issue tracks a focused security-hardening change plus regression coverage and operator documentation.

Template check

The intentionally pre-checked template box has been removed after reading the template.

Originally created by @SpicyMarinara on GitHub (Jul 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4284 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Docker deployments can currently treat requests with proxy-forwarding headers as trusted local traffic unless the operator opts into stricter authentication. A reverse-proxy misconfiguration can therefore weaken the remote-access boundary. ## Expected behavior Forwarded Docker traffic should require the configured password/IP/privileged-route gates by default. Direct container-local traffic may retain the documented Docker convenience path, and operators should have an explicit compatibility opt-out. ## Actual behavior The compatibility default permits proxy-forwarded requests to inherit the Docker authentication bypass. ## Steps to reproduce 1. Run the current `staging` build in Docker with password protection enabled. 2. Send a request carrying a standard forwarding header through the Docker listener. 3. Observe that the request can be classified as Docker-local without the stricter proxy authentication policy enabled. ## Environment - Marinara Engine version: current `staging` - Install type: Docker / reverse proxy - OS + version: any supported Docker host - Browser or app shell: any HTTP client ## Logs, screenshots, or video Not applicable; this is a server-side access-control default. ## Additional context This issue tracks a focused security-hardening change plus regression coverage and operator documentation. ## Template check The intentionally pre-checked template box has been removed after reading the template.
bsakaguchi 2026-10-21 05:47:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2317
No description provided.