Geison Valero belonged to the opposition party First Justice and Omar Fernandez was an independent.
The First Justice party said they were campaigning for opposition leader Henrique Capriles in Barinas state when gunmen shot them dead.
Witnesses said the vehicle belonged to the state oil company PDVSA.
But there has been no confirmation of this from the Venezuelan authorities.
A statement by the party said a rally had been planned in Barinas, President Hugo Chavez’s home state, but the road was blocked by government supporters.
When the two men left their car to try to gain access, they were fired on by gunmen inside a van, it said.
Hugo Chavez and Henrique Capriles are wrapping up their campaigns over the next few days ahead of the 7 October elections.
There have been other incidents of violence on the campaign trail. Supporters of both candidates threw stones at each other earlier this month when Henrique Capriles attempted to march through the city of Puerto Cabello.
And four people were injured in a shooting that erupted during a voting rehearsal at the beginning of September.
With violent crime a key concern for voters, there are fears that further violence could erupt in what has become Venezuela’s closest fought election in over a decade.
Hugo Chavez has been in power since 1999, but was diagnosed with cancer last year.
More than 30 opposition parties have backed a single candidate, Henrique Capriles, to challenge the leftist president.
mN_Ua6OZ4jAImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…