| Home > CWE List > VIEW SLICE: CWE-1449: Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026) (5.0) |
|
CWE VIEW: Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)
CWE entries in this view (graph) are fully or partially eliminated by following the guidance presented in the Secure Coding Guide for Python, as published by OpenSSF in 2026.
The following graph shows the tree-like relationships between
weaknesses that exist at different levels of abstraction. At the highest level, categories
and pillars exist to group weaknesses. Categories (which are not technically weaknesses) are
special CWE entries used to group weaknesses that share a common characteristic. Pillars are
weaknesses that are described in the most abstract fashion. Below these top-level entries
are weaknesses are varying levels of abstraction. Classes are still very abstract, typically
independent of any specific language or technology. Base level weaknesses are used to
present a more specific type of weakness. A variant is a weakness that is described at a
very low level of detail, typically limited to a specific language or technology. A chain is
a set of weaknesses that must be reachable consecutively in order to produce an exploitable
vulnerability. While a composite is a set of weaknesses that must all be present
simultaneously in order to produce an exploitable vulnerability.
Show Details:
1449 - Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1451
(OpenSSF Secure Coding Guide for Python (2026) - 01 Introduction)
Weaknesses in this category are related to the rules and recommendations in section "01 Introduction" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1451
(OpenSSF Secure Coding Guide for Python (2026) - 01 Introduction) >
472
(External Control of Assumed-Immutable Web Parameter)
The web application does not sufficiently verify inputs that are assumed to be immutable but are actually externally controllable, such as hidden form fields.
Assumed-Immutable Parameter Tampering
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1451
(OpenSSF Secure Coding Guide for Python (2026) - 01 Introduction) >
501
(Trust Boundary Violation)
The product mixes trusted and untrusted data in the same data structure or structured message.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1451
(OpenSSF Secure Coding Guide for Python (2026) - 01 Introduction) >
783
(Operator Precedence Logic Error)
The product uses an expression in which operator precedence causes incorrect logic to be used.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1451
(OpenSSF Secure Coding Guide for Python (2026) - 01 Introduction) >
798
(Use of Hard-coded Credentials)
The product contains hard-coded credentials, such as a password or cryptographic key.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1452
(OpenSSF Secure Coding Guide for Python (2026) - 02 Encoding and Strings)
Weaknesses in this category are related to the rules and recommendations in section "02 Encoding and Strings" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1452
(OpenSSF Secure Coding Guide for Python (2026) - 02 Encoding and Strings) >
175
(Improper Handling of Mixed Encoding)
The product does not properly handle when the same input uses several different (mixed) encodings.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1452
(OpenSSF Secure Coding Guide for Python (2026) - 02 Encoding and Strings) >
176
(Improper Handling of Unicode Encoding)
The product does not properly handle when an input contains Unicode encoding.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1452
(OpenSSF Secure Coding Guide for Python (2026) - 02 Encoding and Strings) >
180
(Incorrect Behavior Order: Validate Before Canonicalize)
The product validates input before it is canonicalized.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers)
Weaknesses in this category are related to the rules and recommendations in section "03 Numbers" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
1335
(Incorrect Bitwise Shift of Integer)
An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
1339
(Insufficient Precision or Accuracy of a Real Number)
The product processes a real number with an implementation in which the number's representation does not preserve required accuracy and precision in its fractional part, causing an incorrect result.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
190
(Integer Overflow or Wraparound)
The product performs a calculation that can
produce an integer overflow or wraparound when the logic
assumes that the resulting value will always be larger than
the original value. This occurs when an integer value is
incremented to a value that is too large to store in the
associated representation. When this occurs, the value may
become a very small or negative number.
Overflow
Wraparound
wrap, wrap-around, wrap around
Year 2038 problem, Y2K38, Y2038, Epochalypse
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
191
(Integer Underflow (Wrap or Wraparound))
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Integer underflow
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
197
(Numeric Truncation Error)
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1453
(OpenSSF Secure Coding Guide for Python (2026) - 03 Numbers) >
681
(Incorrect Conversion between Numeric Types)
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization)
Weaknesses in this category are related to the rules and recommendations in section "04 Neutralization" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
134
(Use of Externally-Controlled Format String)
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
184
(Incomplete List of Disallowed Inputs)
The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.
Denylist / Deny List
Blocklist / Block List
Blacklist / Black List
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
409
(Improper Handling of Highly Compressed Data (Data Amplification))
The product does not handle or incorrectly
handles a compressed input with a very high compression ratio
that produces a large output.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
426
(Untrusted Search Path)
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Untrusted Path
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
502
(Deserialization of Untrusted Data)
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Marshaling/Marshalling, Unmarshaling/Unmarshalling
Pickling, Unpickling
PHP Object Injection
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
78
(Improper Neutralization of Special Elements used in an OS Command)
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Shell injection
Shell metacharacters
OS Command Injection
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
843
(Access of Resource Using Incompatible Type)
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Type Confusion
Object Type Confusion
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1454
(OpenSSF Secure Coding Guide for Python (2026) - 04 Neutralization) >
89
(Improper Neutralization of Special Elements used in an SQL Command)
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
SQL Injection
SQLi
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling)
Weaknesses in this category are related to the rules and recommendations in section "05 Exception Handling" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
396
(Declaration of Catch for Generic Exception)
Catching overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
397
(Declaration of Throws for Generic Exception)
The product throws or raises an overly broad exception that can hide important details and produce inappropriate responses to certain conditions.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
460
(Improper Cleanup on Thrown Exception)
The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
584
(Return Inside Finally Block)
The code has a return statement inside a finally block.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
754
(Improper Check for Unusual or Exceptional Conditions)
The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1455
(OpenSSF Secure Coding Guide for Python (2026) - 05 Exception Handling) >
755
(Improper Handling of Exceptional Conditions)
The product does not handle or incorrectly handles an exceptional condition.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging)
Weaknesses in this category are related to the rules and recommendations in section "06 Logging" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging) >
117
(Improper Output Neutralization for Logs)
The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.
Log forging
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging) >
209
(Generation of Error Message Containing Sensitive Information)
The product generates an error message that includes sensitive information about its environment, users, or associated data.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging) >
489
(Active Debug Code)
The product is released with debugging code still enabled or active.
Leftover debug code
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging) >
532
(Insertion of Sensitive Information into Log File)
The product writes sensitive information to a log file.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1456
(OpenSSF Secure Coding Guide for Python (2026) - 06 Logging) >
778
(Insufficient Logging)
When a security-critical event occurs, the product either does not record the event or omits important details about the event when logging it.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency)
Weaknesses in this category are related to the rules and recommendations in section "07 Concurrency" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
362
(Concurrent Execution using Shared Resource with Improper Synchronization)
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Race Condition
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
392
(Missing Report of Error Condition)
The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
400
(Uncontrolled Resource Consumption)
The product does not properly control the allocation and maintenance of a limited resource.
Resource Exhaustion
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
410
(Insufficient Resource Pool)
The product's resource pool is not large enough to handle peak demand.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
665
(Improper Initialization)
The product does not initialize or incorrectly initializes a resource.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1457
(OpenSSF Secure Coding Guide for Python (2026) - 07 Concurrency) >
833
(Deadlock)
The product contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards)
Weaknesses in this category are related to the rules and recommendations in section "08 Coding Standards" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
1095
(Loop Condition Value Update within the Loop)
The product uses a loop with a control flow condition based on
a value that is updated within the body of the loop.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
1109
(Use of Same Variable for Multiple Purposes)
The code contains a callable, block, or other code element in
which the same variable is used to control more than one unique task or store
more than one instance of data.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
252
(Unchecked Return Value)
The product does not check the return value from a method or function.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
404
(Improper Resource Shutdown or Release)
The product does not release or incorrectly releases a resource before it is made available for re-use.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
459
(Incomplete Cleanup)
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
Insufficient Cleanup
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
476
(NULL Pointer Dereference)
The product dereferences a pointer that it expects to be valid but is NULL.
NPD
null deref
NPE
nil pointer dereference
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
595
(Comparison of Object References Instead of Object Contents)
The product compares object references instead of the contents of the objects themselves, preventing it from detecting equivalent objects.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
617
(Reachable Assertion)
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
assertion failure
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1458
(OpenSSF Secure Coding Guide for Python (2026) - 08 Coding Standards) >
703
(Improper Check or Handling of Exceptional Conditions)
The product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1459
(OpenSSF Secure Coding Guide for Python (2026) - 09 Cryptography)
Weaknesses in this category are related to the rules and recommendations in section "09 Cryptography" of the OpenSSF Secure Coding Guide for Python.
1449
(Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)) >
1459
(OpenSSF Secure Coding Guide for Python (2026) - 09 Cryptography) >
330
(Use of Insufficiently Random Values)
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
Relationship
The relationships in this view were determined based on specific statements within the rules from the guide. Not all rules have direct relationships to individual weaknesses, although they likely have chaining relationships in specific circumstances.
ComponentsA | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
|
|
Use of the Common Weakness Enumeration (CWE™) and the associated references from this website are subject to the Terms of Use. CWE is sponsored by the U.S. Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) and managed by the Homeland Security Systems Engineering and Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE). Copyright © 2006–2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation. |
||

