Skip to content
OpenAdvisories

Weakness (CWE)

CWE-340: Generation of Predictable Numbers or Identifiers

Class Incomplete

The product uses a scheme that generates numbers or identifiers that are more predictable than required.

Source: MITRE CWE-340

65 results · Feed

  • Medium 4.3
    CVE-2026-118527 Exploited

    Use of predictable filenames in Ivanti Connect Secure before versions 25.1.1.3 and 22.8R2.6 allows a remote authenticat…

    KEV Oct 30, 2026
  • High 7.7

    Bucket Squatting in Cloud Run MCP leads to Service Account Takeover

    Bucket Squatting in Google Cloud Run MCP versions prior to 1.11.0 on Google Cloud Platform allows an attacker to intercept and access proprietary source code, execute arbitrary code and exfiltrate data. Users must upgrade to Cloud Run MCP version 1.11.0 or la…

  • Medium 5.6

    Predictable and reused DHCPv4 transaction identifier allows spoofed DHCP replies to reconfigure gateway and DNS

    The DHCPv4 client in subsys/net/lib/dhcpv4/dhcpv4.c maintained its transaction identifier (iface->config.dhcpv4.xid) as a counter rather than as a per-transaction random value. It was seeded once with sys_rand32_get() in dhcpv4_start_internal(), incremented b…

  • Medium 6.8

    Goobi viewer: Predictable Replacement Password Allows Account Takeover After Password Reset

    The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. Prior to version 26.05, when a password reset link is visited, the application generates a replacement password in a predictable way and emails it to the ac…

  • Medium 6.5

    Goobi viewer: Predictable Password Reset Token Allows Unauthorized Password Reset

    The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. Prior to version 26.05, the password reset token is predictably based on the time of the reset request. An attacker who knows the target's email address can…

  • High 8.8

    Botslab G980H Dashcams Generation of Predictable Numbers or Identifiers

    The Botslab G980H dash camera firmware generates session identifiers using a small sequential value space rather than a suitably unpredictable source. An unauthenticated attacker with adjacent network access and knowledge that an active session exists could p…

  • High 7.5

    Concrete CMS Community Store before 2.7.8 Predictable Digital Download Token

    Concrete CMS Community Store before 2.7.8 derives digital product download tokens from order creation timestamps instead of random values, making tokens predictable. Unauthenticated attackers can enumerate sequential order and file identifiers to calculate va…

  • Medium 6.3

    Generation of Predictable Email Confirmation Token in ATutor

    ATutor generates predictable email confirmation tokens due to the use of insufficiently random values in the account confirmation functionality. Due to the use of predictable values related to user registration, an attacker who knows or can predict these valu…

  • Medium 5.3

    Weak File Name Generation in vsDesk

    The application generates uploaded file names using a weak and predictable method based on the request timestamp. This allows a remote attacker to accurately guess or brute-force the generated filename within a short time window. An attacker can successfully …

  • Critical 9.1

    OpnForm Editable Submission Secret Derivation via Empty Hashids Salt

    OpnForm derives editable-submission secrets from sequential row identifiers using Hashids with an empty default salt, allowing unauthenticated attackers to compute hashes for any submission. Attackers can read other respondents' full submission data through t…

  • High 8.2

    Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable

    Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable. Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id unless both Math::Random::ISAAC::XS a…

  • Medium 4.0

    An issue was discovered in cyrus-imapd in Cyrus IMAP through 3.12.2. URLAUTH token forgery can occur via a missing mbox…

  • Medium 5.9

    CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources

    CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are pr…

  • Medium 6.5

    Setracker2 Children's Smartwatch Ecosystem Generation of Predictable Numbers or Identifiers

    Setracker2 Android Companion App com.tgelec.setracker versions 3.1.5 and prior have a predictable registration ID derived from IMEI. The enrollment system lacks additional authentication before assignment. If an attacker is able to obtain the registration ID,…

  • Critical 9.0
    CVE-2026-11374 Public exploit

    Account Takeover via Predictable SSO Ticket Generation

    In ManageEngine ADSelfService Plus, RecoveryManager Plus, M365 Manager Plus, and ADAudit Plus, the SSO tickets generated to authenticate that session could be predicted by an unauthenticated user, leading to account takeover.

  • Critical 9.1

    Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter

    Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter. When no state generator is specified in the constructor, the module defaults to using a SHA-1 hash of predictable and low-entropy sources, includin…

  • Medium 5.3

    Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely

    Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, the heap address of an anonymous hash, and the PID. T…

  • Medium 5.3

    Naxclow IoT Platform Generation of Predictable Numbers or Identifiers

    Naxclow device identifiers use fixed manufacturing prefixes combined with sequential counters, producing a fully predictable and enumerable identifier space. Because the platform also exposes an endpoint that reveals the current identifier high-water mark, th…

  • Medium 6.8

    Netty: DNS Cache Poisoning due to Predictable PRNG and Default Static Source Port

    Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, Netty's DNS resolver uses a predictable PRNG for generating DNS transaction IDs and defaults to a static UDP source por…

  • Medium 6.5

    Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids

    Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids. Apache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epo…

  • Medium 6.5

    WebDyne::Session versions before 3.003_704 for Perl generate the session id insecurely

    WebDyne::Session versions before 3.003_704 for Perl generate the session id insecurely. The session handler generates the session id from an MD5 hash seeded with a call to the built-in rand() function. The rand function is passed a maximum value based on the …

  • Critical 9.1

    Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure

    Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure. Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID var…

  • Medium 5.9

    Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely

    Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely. The session id is generated from summing the character codepoints of the absolute pathname with the process id, the epoch time and calls to the built-in rand() functi…

  • High 8.8

    FreeScout has Predictable Attachment Token that Allows Unauthenticated Private File Download via Brute Force

    FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, attachment download tokens are generated using a weak and predictable formula: `md5(APP_KEY + attachment_id + size)`. Since attachment_id is sequential and size can be bru…

  • Critical 9.1

    Solstice::Session versions through 1440 for Perl generates session ids insecurely

    Solstice::Session versions through 1440 for Perl generates session ids insecurely. The _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id. The same metho…

  • Medium 5.3

    Ado::Sessions versions through 0.935 for Perl generates insecure session ids

    Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time …

  • Medium 5.3

    Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id

    Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id. The generate_session_id function will attempt to read bytes from the /dev/urandom device, but if that is unavailable then it generates bytes using SHA-1…

  • Medium 6.3

    Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver

    Generation of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inet_res, inet_db modules) allows DNS Cache Poisoning. The built-in DNS resolver (inet_res) uses a sequential, process-global 16-bit transaction ID for UDP queries and does n…

  • Medium 6.2

    Multiple Vulnerabilities in IBM Concert Software

    IBM Concert 1.0.0 through 2.2.0 creates temporary files with predictable names, which allows local users to overwrite arbitrary files via a symlink attack.

  • Critical 9.8

    HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids

    HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids. HTTP::Session defaults to using HTTP::Session::ID::SHA1 to generate session ids using a SHA-1 hash seeded with the built-in rand function, the high resolution epoc…

  • Critical 9.8

    Amon2 versions before 6.17 for Perl use an insecure random_string implementation for security functions

    Amon2 versions before 6.17 for Perl use an insecure random_string implementation for security functions. In versions 6.06 through 6.16, the random_string function will attempt to read bytes from the /dev/urandom device, but if that is unavailable then it gene…

  • High 7.5

    Improper S3 ownership verification in Bedrock AgentCore Starter Toolkit

    A missing S3 ownership verification in the Bedrock AgentCore Starter Toolkit before version v0.1.13 may allow a remote actor to inject code during the build process, leading to code execution in the AgentCore Runtime. This issue only affects users of the Bedr…

  • Critical 9.1

    Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id

    Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id. Apache::Session::Generate::MD5 generates session ids insecurely. The default session id generator returns a MD5 hash seeded with the built-in rand() function, the epoch …

  • Critical 9.8

    Plack::Middleware::Session::Simple versions before 0.05 for Perl generates session ids insecurely

    Plack::Middleware::Session::Simple versions before 0.05 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of…

  • Medium 6.5

    HTTP::Session2 versions before 1.12 for Perl may generate weak session ids using the rand() function

    HTTP::Session2 versions before 1.12 for Perl for Perl may generate weak session ids using the rand() function. The HTTP::Session2 session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come …

  • High 8.2

    Apache::SessionX versions through 2.01 for Perl create insecure session id

    Apache::SessionX versions through 2.01 for Perl create insecure session id. Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 hash seeded with the built-in rand() function, the…

  • High 7.7

    Bucket Squatting in Vertex AI Experiments leads to RCE and Model Theft.

    Predictable bucket naming in Vertex AI Experiments in Google Cloud Vertex AI from version 1.21.0 up to (but not including) 1.133.0 on Google Cloud Platform allows an unauthenticated remote attacker to achieve cross-tenant remote code execution, model theft, a…

  • Critical 9.8

    Concierge::Sessions versions from 0.8.1 before 0.8.5 for Perl generate insecure session ids

    Concierge::Sessions versions from 0.8.1 before 0.8.5 for Perl generate insecure session ids. The generate_session_id function in Concierge::Sessions::Base defaults to using the uuidgen command to generate a UUID, with a fallback to using Perl's built-in rand …

  • High 8.7

    Jervis has Deterministic AES IV Derivation from Passphrase

    Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses deterministic AES IV derivation from a passphrase. This vulnerability is fixed in 2.2.

  • High 8.9
    CVE-2025-69286 Public exploit

    RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability

    RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions prior to 0.22.0, the use of an insecure key generation algorithm in the API key and beta (assistant/agent share auth) token generation process allows these tokens to be mutuall…