Skip to content

fix(security): replace raw exception string in HTTP 500 response (VULN-115235) - #250

Open
etserend wants to merge 1 commit into
mainfrom
fix/vuln-115235-stack-trace-disclosure
Open

etserend wants to merge 1 commit into
mainfrom
fix/vuln-115235-stack-trace-disclosure

Conversation

@etserend

Copy link
Copy Markdown
Contributor

Replace str(e) in the generate_startup() 500 handler with a generic message so internal exception details are not disclosed to HTTP callers.

Fixes VULN-115235 (SAST: flask-information-disclosure, OWASP A6).

…N-115235)

Return a generic error message instead of str(e) to prevent internal
exception details from being disclosed to HTTP callers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@etserend
etserend requested a review from pradystar September 17, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant