instagrapi is vulnerable to Insertion of Sensitive Information into Log File
51
CVE Score
Medium
Insertion of Sensitive Information into Log File
The change_password branch of challenge_resolve_simple in instagrapi/mixins/challenge.py printed the freshly rotated account password to stdout via a print() call. When the change_password challenge flow runs and a change_password_handler returns a new password, that plaintext credential is written to stdout and any attached application logs. Anyone able to read that output (log files, journald, aggregated logging) can recover the account password. The fix removes the print() and logs only the password length and attempt metadata, with a regression test asserting the secret never reaches stdout or logs.
Upgrade the instagrapi library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application uses the change_password challenge flow via change_password_handler.
1.10.0 - 2.5.10
Fixed in 2.5.11instagrapi is vulnerable to Insertion of Sensitive Information into Log File in versions 1.10.0 - 2.5.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.