| शीर्षक | coleifer peewee 4.5.2 Code Execution |
|---|
| विवरण | The pwiz code generator shipped with peewee 4.5.2 interpolates database table names unescaped into the generated models.py (pwiz.py:117, table_name = '%s'). A SQLite database with a crafted table name causes arbitrary Python code to be embedded verbatim in the generated module, which executes when the developer imports the file - the standard next step of the pwiz workflow. Column names, defaults and related_name fields are interpolated the same way. Verified in a real environment: os.system executed during import of the generated models.py. Affects all releases including the current PyPI release 4.5.2 and master (commit db793d7).
As requested by moderation, a public issue has been created in the project repository: https://github.com/coleifer/peewee/issues/3090 (full technical analysis and reproduction). |
|---|
| स्रोत | ⚠️ https://github.com/coleifer/peewee/issues/3090 |
|---|
| उपयोगकर्ता | chenhuanlin (UID 100424) |
|---|
| सबमिशन | 27/10/2026 03:21 AM (29 दिन पहले) |
|---|
| संयम | 25/11/2026 09:23 AM (29 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 443666 |
|---|
| अंक | 20 |
|---|