#545 [API/Race] tenant_apps.py TOCTOU in set_secret and delete_secret

closed high Created 2025-12-17 16:29 · Updated 2025-12-17 18:58

Description

Edit
File: api/blueprints/v1/tenant_apps.py:913-1027. SELECT secrets_config, modify in Python, then UPDATE. Concurrent secret updates can overwrite each other (lost update problem). Dangerous because involves Vault operations. FIX: Use SELECT FOR UPDATE or JSONB operators.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...